Changeset 1644


Ignore:
Timestamp:
01/10/07 18:25:09 (6 years ago)
Author:
sam
Message:
  • Oops, fixed an old OS X build failure.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • zzuf/trunk/src/load-mem.c

    r1643 r1644  
    322322    { 
    323323        /* FIXME: do we also have to rewind the filedescriptor like in mmap? */ 
    324         void *b = malloc(numbytes); 
     324        char *b = malloc(numbytes); 
    325325        memcpy(b, (void *)*addr, numbytes); 
    326         _zz_fuzz(fd, b, numbytes); 
     326        _zz_fuzz(fd, (void *)b, numbytes); 
    327327        *addr = (vm_offset_t)b; 
    328328        /* FIXME: the map is never freed; there is no such thing as unmap_fd, 
Note: See TracChangeset for help on using the changeset viewer.