misc: Make M_WriteFile source parameter const
This commit is contained in:
parent
10ba5264f8
commit
aceb68d67d
2 changed files with 2 additions and 2 deletions
|
|
@ -178,7 +178,7 @@ long M_FileLength(FILE *handle)
|
|||
// M_WriteFile
|
||||
//
|
||||
|
||||
boolean M_WriteFile(const char *name, void *source, int length)
|
||||
boolean M_WriteFile(const char *name, const void *source, int length)
|
||||
{
|
||||
FILE *handle;
|
||||
int count;
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@
|
|||
|
||||
#include "doomtype.h"
|
||||
|
||||
boolean M_WriteFile(const char *name, void *source, int length);
|
||||
boolean M_WriteFile(const char *name, const void *source, int length);
|
||||
int M_ReadFile(const char *name, byte **buffer);
|
||||
void M_MakeDirectory(const char *dir);
|
||||
char *M_TempFile(const char *s);
|
||||
|
|
|
|||
Loading…
Reference in a new issue