diff options
Diffstat (limited to 'src/upb_string.h')
-rw-r--r-- | src/upb_string.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/upb_string.h b/src/upb_string.h index 5e5d6bc..af1f8ce 100644 --- a/src/upb_string.h +++ b/src/upb_string.h @@ -101,7 +101,7 @@ void upb_string_detach(upb_string *str); // Allows using upb_strings in printf, ie: // upb_strptr str = UPB_STRLIT("Hello, World!\n"); // printf("String is: " UPB_STRFMT, UPB_STRARG(str)); */ -#define UPB_STRARG(str) upb_strlen(str), upb_string_getrobuf(str) +#define UPB_STRARG(str) upb_string_len(str), upb_string_getrobuf(str) #define UPB_STRFMT "%.*s" /* upb_string library functions ***********************************************/ |