Skip to content

Commit

Permalink
return correct result from xbmcvfs.seek
Browse files Browse the repository at this point in the history
  • Loading branch information
amet committed Jun 2, 2012
1 parent 5a0237b commit b10fbce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xbmc/interfaces/python/xbmcmodule/xbmcvfsmodule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -499,10 +499,10 @@ extern "C" {
return NULL;

CPyThreadState pyState;
bool bResult = self->pFile->Seek(seekBytes,iWhence);
int64_t bResult = self->pFile->Seek(seekBytes,iWhence);
pyState.Restore();

return Py_BuildValue((char*)"b", bResult);
return Py_BuildValue((char*)"L", bResult);
}

PyDoc_STRVAR(close__doc__,
Expand Down

0 comments on commit b10fbce

Please sign in to comment.