summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2012-03-07 13:34:05 +0100
committerDavid Tardon <dtardon@redhat.com>2012-03-07 14:01:33 +0100
commit48b419ceb68c9bcf821e906a601f9b0c5e943200 (patch)
treeeb8ec3cd5d56b468cbcc9fd0f016d4c8f155fb7d /sal
parentc06ec2fdc21d4794535fb4d2358f65575ee9f2b7 (diff)
WaE: comparison between signed and unsigned integer expressions
Diffstat (limited to 'sal')
-rw-r--r--sal/osl/w32/dllentry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/osl/w32/dllentry.c b/sal/osl/w32/dllentry.c
index 0267216f0966..cc39c99f5988 100644
--- a/sal/osl/w32/dllentry.c
+++ b/sal/osl/w32/dllentry.c
@@ -120,7 +120,7 @@ __do_global_ctors (void)
* is terminated with a null entry. Otherwise the first entry was
* the number of pointers in the list.
*/
- if (nptrs == -1)
+ if (nptrs == (unsigned long)-1)
{
for (nptrs = 0; __CTOR_LIST__[nptrs + 1] != 0; nptrs++)
;