Mac build fixes (bug 4392, r=dvander).

This commit is contained in:
Fyren 2010-05-11 01:46:54 -07:00
parent f06af54165
commit 26c404adee
3 changed files with 3 additions and 3 deletions

View File

@ -165,7 +165,7 @@ bool CookieManager::GetCookieValue(Cookie *pCookie, int client, char **value)
return true; return true;
} }
bool CookieManager::SetCookieValue(Cookie *pCookie, int client, char *value) bool CookieManager::SetCookieValue(Cookie *pCookie, int client, const char *value)
{ {
assert(pCookie); assert(pCookie);

View File

@ -118,7 +118,7 @@ public:
void OnClientDisconnecting(int client); void OnClientDisconnecting(int client);
bool GetCookieValue(Cookie *pCookie, int client, char **value); bool GetCookieValue(Cookie *pCookie, int client, char **value);
bool SetCookieValue(Cookie *pCookie, int client, char *value); bool SetCookieValue(Cookie *pCookie, int client, const char *value);
bool GetCookieTime(Cookie *pCookie, int client, time_t *value); bool GetCookieTime(Cookie *pCookie, int client, time_t *value);
void Unload(); void Unload();

View File

@ -193,7 +193,7 @@ bool GetFileOfAddress(void *pAddr, char *buffer, size_t maxlength)
DLL_EXPORT METAMOD_PLUGIN *CreateInterface_MMS(const MetamodVersionInfo *mvi, const MetamodLoaderInfo *mli) DLL_EXPORT METAMOD_PLUGIN *CreateInterface_MMS(const MetamodVersionInfo *mvi, const MetamodLoaderInfo *mli)
{ {
char *filename; const char *filename;
load_attempted = true; load_attempted = true;