<<< Date Index >>>     <<< Thread Index >>>

[PATCH 7 of 9] Fix comparison signedness warning



# HG changeset patch
# User Matthias Andree <matthias.andree@xxxxxx>
# Date 1281124734 -7200
# Branch HEAD
# Node ID 4bc65ed599ef817bb754e4edfeaadffda857e3f9
# Parent  73dd65f57f103c5f1fba175b4ee1ed8541ad5081
Fix comparison signedness warning.

diff --git a/pop_lib.c b/pop_lib.c
--- a/pop_lib.c
+++ b/pop_lib.c
@@ -498,7 +498,7 @@
     strfcpy (inbuf + lenbuf, p, sizeof (buf));
     pos += chunk;
 
-    if (chunk >= sizeof (buf))
+    if ((size_t)chunk >= sizeof (buf))
     {
       lenbuf += strlen (p);
     }