diff --git a/core/smn_keyvalues.cpp b/core/smn_keyvalues.cpp index 95073117..80912cb3 100644 --- a/core/smn_keyvalues.cpp +++ b/core/smn_keyvalues.cpp @@ -124,7 +124,7 @@ static cell_t smn_KvSetNum(IPluginContext *pCtx, const cell_t *params) return 1; } -static cell_t smn_KvSetUint64(IPluginContext *pCtx, const cell_t *params) +static cell_t smn_KvSetUInt64(IPluginContext *pCtx, const cell_t *params) { Handle_t hndl = static_cast(params[1]); HandleError herr; @@ -312,7 +312,7 @@ static cell_t smn_KvGetColor(IPluginContext *pCtx, const cell_t *params) return 1; } -static cell_t smn_KvGetUint64(IPluginContext *pCtx, const cell_t *params) +static cell_t smn_KvGetUInt64(IPluginContext *pCtx, const cell_t *params) { Handle_t hndl = static_cast(params[1]); HandleError herr; @@ -820,14 +820,14 @@ REGISTER_NATIVES(keyvaluenatives) { {"KvSetString", smn_KvSetString}, {"KvSetNum", smn_KvSetNum}, - {"KvSetUint64", smn_KvSetUint64}, + {"KvSetUInt64", smn_KvSetUInt64}, {"KvSetFloat", smn_KvSetFloat}, {"KvSetColor", smn_KvSetColor}, {"KvGetString", smn_KvGetString}, {"KvGetNum", smn_KvGetNum}, {"KvGetFloat", smn_KvGetFloat}, {"KvGetColor", smn_KvGetColor}, - {"KvGetUint64", smn_KvGetUint64}, + {"KvGetUInt64", smn_KvGetUInt64}, {"CreateKeyValues", smn_CreateKeyValues}, {"KvJumpToKey", smn_KvJumpToKey}, {"KvGotoNextKey", smn_KvGotoNextKey}, diff --git a/plugins/include/keyvalues.inc b/plugins/include/keyvalues.inc index 6c816319..bfead33c 100644 --- a/plugins/include/keyvalues.inc +++ b/plugins/include/keyvalues.inc @@ -76,7 +76,7 @@ native KvSetNum(Handle:kv, const String:key[], value); * @noreturn * @error Invalid Handle. */ -native KvSetUint64(Handle:kv, const String:key[], const value[2]); +native KvSetUInt64(Handle:kv, const String:key[], const value[2]); /** * Sets a floating point value of a KeyValues key. @@ -162,7 +162,7 @@ native KvGetColor(Handle:kv, const String:key[], &r, &g, &b, &a); * @noreturn * @error Invalid Handle. */ -native KvGetUint64(Handle:kv, const String:key[], value[2], defvalue[2]={0,0}); +native KvGetUInt64(Handle:kv, const String:key[], value[2], defvalue[2]={0,0}); /** * Sets the current position in the KeyValues tree to the given key.