Fix linux build.
This commit is contained in:
parent
f2a80e33fd
commit
2aba6d9d42
@ -62,11 +62,11 @@ static cell_t sm_GetCommandLineParam(IPluginContext *pCtx, const cell_t *params)
|
||||
}
|
||||
|
||||
char *param = NULL;
|
||||
char *default = NULL;
|
||||
char *defValue = NULL;
|
||||
pCtx->LocalToString(params[1], ¶m);
|
||||
pCtx->LocalToString(params[4], ¶m);
|
||||
|
||||
const char *value = pCmdLine->ParmValue(param, default);
|
||||
const char *value = pCmdLine->ParmValue(param, defValue);
|
||||
|
||||
pCtx->StringToLocal(params[2], params[3], value);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user