mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-14 08:24:16 +09:00
[winpr,json] fix jansson WINPR_JSON_GetNumberValue
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user