Fix linux build.

This commit is contained in:
Ryan Stecker 2014-10-07 17:19:16 -05:00
parent f2a80e33fd
commit 2aba6d9d42

View File

@ -62,11 +62,11 @@ static cell_t sm_GetCommandLineParam(IPluginContext *pCtx, const cell_t *params)
} }
char *param = NULL; char *param = NULL;
char *default = NULL; char *defValue = NULL;
pCtx->LocalToString(params[1], &param); pCtx->LocalToString(params[1], &param);
pCtx->LocalToString(params[4], &param); pCtx->LocalToString(params[4], &param);
const char *value = pCmdLine->ParmValue(param, default); const char *value = pCmdLine->ParmValue(param, defValue);
pCtx->StringToLocal(params[2], params[3], value); pCtx->StringToLocal(params[2], params[3], value);