Ignore:
Timestamp:
Feb 1, 2007, 7:19:03 PM (16 years ago)
Author:
Sam Hocevar
Message:
  • Fixed a few 64-bit issues reported by MSVC.
  • More Win32 portability fixes.
File:
1 edited

Legend:

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

    r1720 r1730  
    112112void _zz_fuzz(int fd, volatile uint8_t *buf, uint64_t len)
    113113{
    114     uint64_t start, stop;
     114    int64_t start, stop;
     115    int64_t pos = _zz_getpos(fd);
    115116    struct fuzz *fuzz;
    116117    volatile uint8_t *aligned_buf;
    117     unsigned long int pos = _zz_getpos(fd);
    118     unsigned int i, j, todo;
     118    int i, j, todo;
    119119
    120120#if 0
    121     debug("fuzz(%i, %lli@%li)", fd, (unsigned long long int)len,
    122           (unsigned long int)pos);
     121    debug("fuzz(%i, %lli@%lli)", fd, (long long int)len,
     122          (long long int)pos);
    123123#endif
    124124
     
    160160        for(j = start; j < stop; j++)
    161161        {
    162             unsigned int *r;
     162            int *r;
    163163            uint8_t byte, fuzzbyte;
    164164
Note: See TracChangeset for help on using the changeset viewer.