mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
let's not forget this
This commit is contained in:
parent
2d975e0681
commit
28f1fd83ca
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user