Mercurial > pidgin
comparison src/protocols/gg/utils.c @ 12214:cadda0024205
[gaim-migrate @ 14516]
Kill a warning. Warnings suck.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Thu, 24 Nov 2005 18:04:58 +0000 |
parents | 8724718d387f |
children | 546c292b7f98 |
comparison
equal
deleted
inserted
replaced
12213:4e7ba55a1db2 | 12214:cadda0024205 |
---|---|
38 | 38 |
39 if (*text == '\0' || *tmp != '\0') | 39 if (*text == '\0' || *tmp != '\0') |
40 return 0; | 40 return 0; |
41 | 41 |
42 if ((errno == ERANGE || (num == LONG_MAX || num == LONG_MIN)) | 42 if ((errno == ERANGE || (num == LONG_MAX || num == LONG_MIN)) |
43 || num > UINT_MAX || num < 0) | 43 || num > (long)UINT_MAX || num < 0) |
44 return 0; | 44 return 0; |
45 | 45 |
46 return (uin_t) num; | 46 return (uin_t) num; |
47 } | 47 } |
48 /* }}} */ | 48 /* }}} */ |