From 6c1fd8d56776ca54c2f43b9c94f297320d6424eb Mon Sep 17 00:00:00 2001 From: Michael D Kinney Date: Mon, 19 May 2025 13:20:14 -0700 Subject: [PATCH] RedfishPkg/RedfishLib: Fix enum type mismatch Fix enum type mismatch between jansson library and JsonLib. Signed-off-by: Michael D Kinney --- .../PrivateLibrary/RedfishLib/edk2libredfish/src/payload.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RedfishPkg/PrivateLibrary/RedfishLib/edk2libredfish/src/payload.c b/RedfishPkg/PrivateLibrary/RedfishLib/edk2libredfish/src/payload.c index 8fb24a5928..bb287f2de4 100644 --- a/RedfishPkg/PrivateLibrary/RedfishLib/edk2libredfish/src/payload.c +++ b/RedfishPkg/PrivateLibrary/RedfishLib/edk2libredfish/src/payload.c @@ -525,7 +525,7 @@ getOpResult ( } stringProp = prop->json; - jsonType = JsonGetType (prop->json); + jsonType = (json_type)JsonGetType (prop->json); switch (jsonType) { case JSON_OBJECT: stringProp = json_object_get (prop->json, propName);