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:
parent
b437a7cb2c
commit
0bf247169a
10 changed files with 67 additions and 69 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue