From 721c284959373829161bd78bd838a83fe46c532a Mon Sep 17 00:00:00 2001 From: Protobuf Team Bot Date: Tue, 8 Nov 2022 11:45:05 -0800 Subject: [PATCH] Use UPB_SETJMP macro PiperOrigin-RevId: 487009840 --- upb/json/encode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upb/json/encode.c b/upb/json/encode.c index 6325bea036..1ec95204cd 100644 --- a/upb/json/encode.c +++ b/upb/json/encode.c @@ -781,7 +781,7 @@ size_t upb_JsonEncode(const upb_Message* msg, const upb_MessageDef* m, e.status = status; e.arena = NULL; - if (setjmp(e.err)) return -1; + if (UPB_SETJMP(e.err)) return -1; jsonenc_msgfield(&e, msg, m); if (e.arena) upb_Arena_Free(e.arena);