Skip to content

Commit

Permalink
Quick fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Mar 25, 2002
1 parent f2887cf commit dfe6564
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions platform/unix.c
Expand Up @@ -588,11 +588,11 @@ PHYSFS_sint64 __PHYSFS_platformRead(void *opaque, void *buffer,
} /* __PHYSFS_platformRead */


PHYSFS_sint64 __PHYSFS_platformWrite(void *opaque, void *buffer,
PHYSFS_sint64 __PHYSFS_platformWrite(void *opaque, const void *buffer,
PHYSFS_uint32 size, PHYSFS_uint32 count)
{
FILE *io = (FILE *) opaque;
int rc = fwrite(buffer, size, count, io);
int rc = fwrite((void *) buffer, size, count, io);
if (rc < count)
__PHYSFS_setError(strerror(errno));

Expand Down

0 comments on commit dfe6564

Please sign in to comment.