Ignore:
Timestamp:
Feb 2, 2007, 12:58:06 PM (14 years ago)
Author:
Sam Hocevar
Message:
  • Fixed more MSVC compilation warnings.
File:
1 edited

Legend:

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

    r1733 r1736  
    429429        else while(ret)
    430430        {
    431             if((nw = write(1, buf + off, (size_t)ret)) < 0)
     431            if((nw = write(1, buf + off, (unsigned int)ret)) < 0)
    432432                break;
    433433            ret -= nw;
     
    10331033    }
    10341034
    1035     return (char *)nt->OptionalHeader.ImageBase +
    1036                            nt->OptionalHeader.AddressOfEntryPoint;
     1035    return (void *)(uintptr_t)(nt->OptionalHeader.ImageBase +
     1036                                 nt->OptionalHeader.AddressOfEntryPoint);
    10371037}
    10381038#endif
Note: See TracChangeset for help on using the changeset viewer.