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/fd.c

    r1719 r1730  
    5151{
    5252    int managed, locked;
    53     uint64_t pos;
     53    int64_t pos;
    5454    /* Public stuff */
    5555    struct fuzz fuzz;
     
    312312}
    313313
    314 long int _zz_getpos(int fd)
     314int64_t _zz_getpos(int fd)
    315315{
    316316    if(fd < 0 || fd >= maxfd || fds[fd] == -1)
     
    320320}
    321321
    322 void _zz_setpos(int fd, long int pos)
     322void _zz_setpos(int fd, int64_t pos)
    323323{
    324324    if(fd < 0 || fd >= maxfd || fds[fd] == -1)
     
    328328}
    329329
    330 void _zz_addpos(int fd, long int off)
     330void _zz_addpos(int fd, int64_t off)
    331331{
    332332    if(fd < 0 || fd >= maxfd || fds[fd] == -1)
Note: See TracChangeset for help on using the changeset viewer.