From 99315b19d205c7f26fe65f6e03d23ec2e7128f24 Mon Sep 17 00:00:00 2001 From: Protobuf Team Bot Date: Thu, 7 Mar 2024 15:07:01 -0800 Subject: [PATCH] Fix upb_MiniTable_SetFullName signature. PiperOrigin-RevId: 613716602 --- upb/mini_table/internal/message.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/upb/mini_table/internal/message.h b/upb/mini_table/internal/message.h index d605189483..8687c0270e 100644 --- a/upb/mini_table/internal/message.h +++ b/upb/mini_table/internal/message.h @@ -168,8 +168,8 @@ UPB_INLINE const char* upb_MiniTable_FullName( // Initializes tracing proto name from language runtimes that construct // mini tables dynamically at runtime. The runtime is responsible for passing // controlling lifetime of name such as storing in same arena as mini_table. -UPB_INLINE const char* upb_MiniTable_SetFullName( - struct upb_MiniTable* mini_table, char* full_name) { +UPB_INLINE void upb_MiniTable_SetFullName(struct upb_MiniTable* mini_table, + const char* full_name) { mini_table->UPB_PRIVATE(full_name) = full_name; } #endif