Jelajahi Sumber

Fixed a const thing.

Ryan C. Gordon 24 tahun lalu
induk
melakukan
723702fedb
1 mengubah file dengan 1 tambahan dan 2 penghapusan
  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
  *  __PHYSFS_setError() to describe the problem; the file pointer should not
  *  move in such a case.
  *  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);
                                      PHYSFS_uint32 size, PHYSFS_uint32 count);
 
 
 /*
 /*
@@ -619,7 +619,6 @@ char *__PHYSFS_platformRealPath(const char *path);
  */
  */
 int __PHYSFS_platformMkDir(const char *path);
 int __PHYSFS_platformMkDir(const char *path);
 
 
-
 #ifdef __cplusplus
 #ifdef __cplusplus
 }
 }
 #endif
 #endif