Removed a warning.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@61 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -49,7 +49,7 @@ typedef COUNT RES_PACKAGE;
|
||||
((RESOURCE)(i) << TYPE_BITS) | \
|
||||
((RESOURCE)(t)))
|
||||
|
||||
extern FILE *OpenResFile (PVOID filename, char *mode);
|
||||
extern FILE *OpenResFile (PVOID filename, const char *mode);
|
||||
extern int ReadResFile (PVOID lpBuf, COUNT size, COUNT count, FILE *fp);
|
||||
extern int WriteResFile (PVOID lpBuf, COUNT size, COUNT count, FILE
|
||||
*fp);
|
||||
|
||||
@@ -26,8 +26,8 @@
|
||||
#include <sys/stat.h>
|
||||
#include "resintrn.h"
|
||||
|
||||
FILE
|
||||
*OpenResFile (PVOID filename, char *mode)
|
||||
FILE *
|
||||
OpenResFile (PVOID filename, const char *mode)
|
||||
{
|
||||
FILE *fp;
|
||||
struct stat sb;
|
||||
|
||||
Reference in New Issue
Block a user