Changeset 196 for trunk/kitgen/zvfs.c


Ignore:
Timestamp:
Aug 20, 2014, 5:09:47 PM (10 years ago)
Author:
demin
Message:

fix pointer arithmetics in zvfs.c and add STDC_HEADERS=1 for zvfs.c compilation in makefile.include

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kitgen/zvfs.c

    r175 r196  
    15511551    Tcl_Seek( chan, INT16(zBuf,26) + INT16(zBuf,28), SEEK_CUR );
    15521552    pInfo->startOfData = Tcl_Tell(chan);
    1553     sprintf( zName, "zvfs%x%x", ((int)pFile)>>12, count++ );
     1553    sprintf( zName, "zvfs%x%x", ((uintptr_t)pFile)>>12, count++ );
    15541554
    15551555    return Tcl_CreateChannel( &vfsChannelType, zName,
Note: See TracChangeset for help on using the changeset viewer.