misc/libphyslayer/physfsrwops.c
changeset 10017 de822cd3df3a
parent 9378 2be457289e60
child 11656 227718170097
equal deleted inserted replaced
10015:4feced261c68 10017:de822cd3df3a
    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 */