aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/nsfe_extractor.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/nsfe_extractor.c')
-rw-r--r--src/plugins/nsfe_extractor.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/nsfe_extractor.c b/src/plugins/nsfe_extractor.c
index 6a8be86..7369477 100644
--- a/src/plugins/nsfe_extractor.c
+++ b/src/plugins/nsfe_extractor.c
@@ -175,7 +175,7 @@ info_extract (struct EXTRACTOR_ExtractContext *ec,
175 175
176 if (size < 8) 176 if (size < 8)
177 return 0; 177 return 0;
178 if (size > 178 if ((ssize_t) size >
179 ec->read (ec->cls, 179 ec->read (ec->cls,
180 &data, 180 &data,
181 size)) 181 size))
@@ -243,7 +243,7 @@ tlbl_extract (struct EXTRACTOR_ExtractContext *ec,
243 void *data; 243 void *data;
244 const char *cdata; 244 const char *cdata;
245 245
246 if (size > 246 if ((ssize_t) size >
247 ec->read (ec->cls, 247 ec->read (ec->cls,
248 &data, 248 &data,
249 size)) 249 size))
@@ -285,7 +285,7 @@ auth_extract (struct EXTRACTOR_ExtractContext *ec,
285 285
286 if (left < 1) 286 if (left < 1)
287 return 0; 287 return 0;
288 if (size > 288 if ((ssize_t) size >
289 ec->read (ec->cls, 289 ec->read (ec->cls,
290 &data, 290 &data,
291 size)) 291 size))
@@ -342,7 +342,7 @@ EXTRACTOR_nsfe_extract_method (struct EXTRACTOR_ExtractContext *ec)
342 uint32_t chunksize; 342 uint32_t chunksize;
343 int ret; 343 int ret;
344 344
345 if (sizeof (struct header) > 345 if ((ssize_t) sizeof (struct header) >
346 ec->read (ec->cls, 346 ec->read (ec->cls,
347 &data, 347 &data,
348 sizeof (struct header))) 348 sizeof (struct header)))