Changeset 1626


Ignore:
Timestamp:
07/27/10 17:06:13 (3 years ago)
Author:
salcock
Message:
  • Fix warnings about signed vs unsigned
Location:
trunk/lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/ior-zlib.c

    r1590 r1626  
    109109                        if (bytes_read == 0) { 
    110110                                /* EOF */ 
    111                                 if (DATA(io)->strm.avail_out == len) { 
     111                                if (DATA(io)->strm.avail_out == (uint32_t)len) { 
    112112                                        DATA(io)->err = ERR_EOF; 
    113113                                        return 0; 
     
    120120                                DATA(io)->err = ERR_ERROR; 
    121121                                /* Return how much data we managed to read ok */ 
    122                                 if (DATA(io)->strm.avail_out != len) { 
     122                                if (DATA(io)->strm.avail_out != (uint32_t)len) { 
    123123                                        return len-DATA(io)->strm.avail_out; 
    124124                                } 
  • trunk/lib/iow-zlib.c

    r1521 r1626  
    117117                                DATA(iow)->err = ERR_ERROR; 
    118118                                /* Return how much data we managed to write ok */ 
    119                                 if (DATA(iow)->strm.avail_in != len) { 
     119                                if (DATA(iow)->strm.avail_in != (uint32_t)len) { 
    120120                                        return len-DATA(iow)->strm.avail_in; 
    121121                                } 
Note: See TracChangeset for help on using the changeset viewer.