Changeset 1732 for zzuf


Ignore:
Timestamp:
Feb 1, 2007, 11:20:48 PM (13 years ago)
Author:
Sam Hocevar
Message:
  • Fixed a few signed/unsigned confusions.
Location:
zzuf/trunk/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • zzuf/trunk/src/fuzz.c

    r1730 r1732  
    4545
    4646/* Per-offset byte protection */
    47 static unsigned int *ranges = NULL;
    48 static unsigned int ranges_static[512];
     47static int *ranges = NULL;
     48static int ranges_static[512];
    4949
    5050/* Per-value byte protection */
     
    110110}
    111111
    112 void _zz_fuzz(int fd, volatile uint8_t *buf, uint64_t len)
     112void _zz_fuzz(int fd, volatile uint8_t *buf, int64_t len)
    113113{
    114114    int64_t start, stop;
  • zzuf/trunk/src/fuzz.h

    r1720 r1732  
    2222extern void _zz_refuse(char const *);
    2323
    24 extern void _zz_fuzz(int, volatile uint8_t *, uint64_t);
     24extern void _zz_fuzz(int, volatile uint8_t *, int64_t);
    2525
  • zzuf/trunk/src/libzzuf.h

    r1719 r1732  
    3939    char *tmp;
    4040#endif
    41     int uflag; uint64_t upos; uint8_t uchar; /* ungetc stuff */
     41    int uflag; int64_t upos; uint8_t uchar; /* ungetc stuff */
    4242    uint8_t data[CHUNKBYTES];
    4343};
Note: See TracChangeset for help on using the changeset viewer.