summaryrefslogtreecommitdiff
path: root/libpurple/protocols/zephyr/ZReadAscii.c
diff options
context:
space:
mode:
authorTomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>2013-08-21 14:59:29 +0200
committerTomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>2013-08-21 14:59:29 +0200
commit836575deafeb881a6c984146be7ccb62e40561c0 (patch)
treec988419570042c240a4fcdb79b705933c4113a3d /libpurple/protocols/zephyr/ZReadAscii.c
parente5d4d612ff054b589b53e2bdd36e8556bfbaee4e (diff)
downloadpidgin-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.c2
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;