libpurple/protocols/zephyr/ZReadAscii.c

branch
release-2.x.y
changeset 36256
a437550a9308
parent 36029
cd7db320cf5c
child 36257
c5445f25f90f
child 43153
2e4624a59df5
equal deleted inserted replaced
36255:a3fe30a2666b 36256:a437550a9308
8 * "mit-copyright.h". 8 * "mit-copyright.h".
9 */ 9 */
10 10
11 #include "internal.h" 11 #include "internal.h"
12 12
13 #define Z_cnvt_xtoi(c) ((temp=(c)-'0'),(temp<10)?temp:((temp-='A'-'9'-1),(temp<16)?temp:-1)) 13 #define Z_cnvt_xtoi(c) ((temp=(c)-'0'),(temp<10)?(int)temp:((temp-='A'-'9'-1),(temp<16)?(int)temp:-1))
14 14
15 Code_t ZReadAscii(ptr, len, field, num) 15 Code_t ZReadAscii(ptr, len, field, num)
16 char *ptr; 16 char *ptr;
17 int len; 17 int len;
18 unsigned char *field; 18 unsigned char *field;

mercurial