Răsfoiți Sursa

Fixed a const thing.

Ryan C. Gordon 24 ani în urmă
părinte
comite
723702fedb
1 a modificat fișierele cu 1 adăugiri și 2 ștergeri
  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