wad: Make W_OpenFile parameters const
This commit is contained in:
parent
a934b69f22
commit
a2b9c9c5d3
2 changed files with 2 additions and 2 deletions
|
|
@ -46,7 +46,7 @@ static wad_file_class_t *wad_file_classes[] =
|
|||
&stdc_wad_file,
|
||||
};
|
||||
|
||||
wad_file_t *W_OpenFile(char *path)
|
||||
wad_file_t *W_OpenFile(const char *path)
|
||||
{
|
||||
wad_file_t *result;
|
||||
int i;
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@ struct _wad_file_s
|
|||
// Open the specified file. Returns a pointer to a new wad_file_t
|
||||
// handle for the WAD file, or NULL if it could not be opened.
|
||||
|
||||
wad_file_t *W_OpenFile(char *path);
|
||||
wad_file_t *W_OpenFile(const char *path);
|
||||
|
||||
// Close the specified WAD file.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue