Explorar o código

Fixed a const thing.

Ryan C. Gordon %!s(int64=24) %!d(string=hai) anos
pai
achega
723702fedb
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      physfs_internal.h

+ 1 - 2
physfs_internal.h

@@ -418,7 +418,7 @@ PHYSFS_sint64 __PHYSFS_platformRead(void *opaque, void *buffer,
  *  __PHYSFS_setError() to describe the problem; the file pointer should not
  *  move in such a case.
  */
-PHYSFS_sint64 __PHYSFS_platformWrite(void *opaque, void *buffer,
+PHYSFS_sint64 __PHYSFS_platformWrite(void *opaque, const void *buffer,
                                      PHYSFS_uint32 size, PHYSFS_uint32 count);
 
 /*
@@ -619,7 +619,6 @@ char *__PHYSFS_platformRealPath(const char *path);
  */
 int __PHYSFS_platformMkDir(const char *path);
 
-
 #ifdef __cplusplus
 }
 #endif