Mercurial > pidgin
diff 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 |
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;