Reacted on -Wsign-compare warnings of gcc

This commit is contained in:
2011-05-12 13:46:59 +00:00
parent e9637067f8
commit ac665916a6
6 changed files with 17 additions and 17 deletions

View File

@ -33,7 +33,7 @@ extern struct libdax_msgs *libdax_messenger;
return 0;\
if (pos == BURN_POS_END)\
pos = TO->NEW##s;\
if (pos > TO->NEW##s)\
if ((int) pos > TO->NEW##s)\
return 0;\
\
tmp = realloc(TO->NEW, sizeof(struct NEW *) * (TO->NEW##s + 1));\