misc/libphyslayer/physfsrwops.c
branchsdl2transition
changeset 11362 ed5a6478e710
parent 10017 de822cd3df3a
child 11656 227718170097
equal deleted inserted replaced
11361:31570b766315 11362:ed5a6478e710
    93     if ( pos < 0 )
    93     if ( pos < 0 )
    94     {
    94     {
    95         SDL_SetError("Attempt to seek past start of file.");
    95         SDL_SetError("Attempt to seek past start of file.");
    96         return -1;
    96         return -1;
    97     } /* if */
    97     } /* if */
    98     
    98 
    99     if (!PHYSFS_seek(handle, (PHYSFS_uint64) pos))
    99     if (!PHYSFS_seek(handle, (PHYSFS_uint64) pos))
   100     {
   100     {
   101         SDL_SetError("PhysicsFS error: %s", PHYSFS_getLastError());
   101         SDL_SetError("PhysicsFS error: %s", PHYSFS_getLastError());
   102         return -1;
   102         return -1;
   103     } /* if */
   103     } /* if */