summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2010-08-06 21:58:54 +0200
committerMatthias Andree <matthias.andree@gmx.de>2010-08-06 21:58:54 +0200
commitee44a49b09e74cec42beff8ef9662d6460e1b191 (patch)
tree4533dbc9c3a1e2c9eefa0a81b587cfac68f51884
parent09130da8c48c0e092a56d8d1f1ff2bf35a141ff1 (diff)
Fix comparison signedness warning.
-rw-r--r--pop_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pop_lib.c b/pop_lib.c
index f763123e..42908732 100644
--- a/pop_lib.c
+++ b/pop_lib.c
@@ -498,7 +498,7 @@ int pop_fetch_data (POP_DATA *pop_data, char *query, progress_t *progressbar,
strfcpy (inbuf + lenbuf, p, sizeof (buf));
pos += chunk;
- if (chunk >= sizeof (buf))
+ if ((size_t)chunk >= sizeof (buf))
{
lenbuf += strlen (p);
}