Mac build fixes (bug 4392, r=dvander).
This commit is contained in:
parent
f06af54165
commit
26c404adee
@ -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);
|
||||||
|
|
||||||
|
@ -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();
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user