Fixed char * constant conversion warning in cstrike ext.
This commit is contained in:
parent
fc240d4dfa
commit
6f0f6676db
@ -385,8 +385,8 @@ static cell_t CS_GetWeaponPrice(IPluginContext *pContext, const cell_t *params)
|
|||||||
|
|
||||||
*(void **)vptr = info;
|
*(void **)vptr = info;
|
||||||
vptr += sizeof(void *);
|
vptr += sizeof(void *);
|
||||||
*(char **)vptr = "in_game_price";
|
*(const char **)vptr = "in_game_price";
|
||||||
vptr += sizeof(char **);
|
vptr += sizeof(const char **);
|
||||||
*(CEconItemView **)vptr = NULL;
|
*(CEconItemView **)vptr = NULL;
|
||||||
|
|
||||||
int price = 0;
|
int price = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user