diff options
author | Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im> | 2013-08-21 14:59:29 +0200 |
---|---|---|
committer | Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im> | 2013-08-21 14:59:29 +0200 |
commit | 836575deafeb881a6c984146be7ccb62e40561c0 (patch) | |
tree | c988419570042c240a4fcdb79b705933c4113a3d /libpurple/protocols/zephyr/ZReadAscii.c | |
parent | e5d4d612ff054b589b53e2bdd36e8556bfbaee4e (diff) | |
download | pidgin-836575deafeb881a6c984146be7ccb62e40561c0.tar.gz |
Fix most of libpurple warnings about -Wsign-compare
Diffstat (limited to 'libpurple/protocols/zephyr/ZReadAscii.c')
-rw-r--r-- | libpurple/protocols/zephyr/ZReadAscii.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpurple/protocols/zephyr/ZReadAscii.c b/libpurple/protocols/zephyr/ZReadAscii.c index 879ddb3c5f..bef0bc3db5 100644 --- a/libpurple/protocols/zephyr/ZReadAscii.c +++ b/libpurple/protocols/zephyr/ZReadAscii.c @@ -10,7 +10,7 @@ #include "internal.h" -#define Z_cnvt_xtoi(c) ((temp=(c)-'0'),(temp<10)?temp:((temp-='A'-'9'-1),(temp<16)?temp:-1)) +#define Z_cnvt_xtoi(c) ((temp=(c)-'0'),(temp<10)?(int)temp:((temp-='A'-'9'-1),(temp<16)?(int)temp:-1)) Code_t ZReadAscii(ptr, len, field, num) char *ptr; |