Mercurial > pidgin
changeset 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 | 4e7ba55a1db2 |
children | 31b91bfab029 |
files | src/protocols/gg/utils.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/protocols/gg/utils.c Thu Nov 24 16:04:45 2005 +0000 +++ b/src/protocols/gg/utils.c Thu Nov 24 18:04:58 2005 +0000 @@ -40,7 +40,7 @@ return 0; if ((errno == ERANGE || (num == LONG_MAX || num == LONG_MIN)) - || num > UINT_MAX || num < 0) + || num > (long)UINT_MAX || num < 0) return 0; return (uin_t) num;