commit | 2b0dba578fed500c1955979a8e281f4fad53bad9 | [log] [tgz] |
---|---|---|
author | Maxim Dounin <mdounin@mdounin.ru> | Wed Sep 04 21:16:59 2013 +0400 |
committer | Maxim Dounin <mdounin@mdounin.ru> | Wed Sep 04 21:16:59 2013 +0400 |
tree | e6f6e6e857fba187334f34036d6793ba8c2943ae | |
parent | 5ab74625d6b28860a08d64ee808a62508a1491dc [diff] |
Handling of ngx_int_t != intptr_t case. Casts between pointers and integers produce warnings on size mismatch. To silence them, cast to (u)intptr_t should be used. Prevoiusly, casts to ngx_(u)int_t were used in some cases, and several ngx_int_t expressions had no casts. As of now it's mostly style as ngx_int_t is defined as intptr_t.