Ryan C. Gordon 24 лет назад
Родитель
Сommit
723702fedb
1 измененных файлов с 1 добавлено и 2 удалено
  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