[winpr,json] fix jansson WINPR_JSON_GetNumberValue

This commit is contained in:
Armin Novak
2025-09-30 13:17:06 +02:00
parent 4aceae4666
commit fde7eb57ee

View File

@@ -153,7 +153,7 @@ const char* WINPR_JSON_GetStringValue(WINPR_JSON* item)
double WINPR_JSON_GetNumberValue(const WINPR_JSON* item)
{
return json_real_value(ccast(item));
return json_number_value(ccast(item));
}
BOOL WINPR_JSON_IsInvalid(const WINPR_JSON* json)