let's not forget this

This commit is contained in:
rdb 2011-04-15 20:50:31 +00:00
parent 2d975e0681
commit 28f1fd83ca

View File

@ -107,8 +107,8 @@ pandavfs_write(URLContext *h, const unsigned char *buf, int size) {
// Access: Static Function
// Description: A hook to seek a panda VFS file.
////////////////////////////////////////////////////////////////////
static PN_int64
pandavfs_seek(URLContext *h, PN_int64 pos, int whence) {
static int64_t
pandavfs_seek(URLContext *h, int64_t pos, int whence) {
istream *s = (istream*)(h->priv_data);
switch(whence) {
case SEEK_SET: s->seekg(pos, ios::beg); break;