1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2025-10-05 22:02:38 +00:00

sync with ttvfs repo

This commit is contained in:
fgenesis 2014-04-07 04:16:15 +02:00
commit 0bf247169a
10 changed files with 67 additions and 69 deletions

View file

@ -124,7 +124,7 @@ bool InStream::open(const char *fn)
int ttvfs_stdio_fsize(VFILE *f, size_t *sizep)
{
size_t sz = 0;
long int sz = 0;
if ( vfseek(f, 0, SEEK_END) != 0
|| (sz = vftell(f)) < 0
|| vfseek(f, 0, SEEK_SET) != 0)