From 103d7ee887ad87c4c19532fd5f70aa4aa5d2c869 Mon Sep 17 00:00:00 2001 From: Sebastian Reimers Date: Wed, 30 Aug 2023 23:16:37 +0200 Subject: [PATCH] types: add RE_ARG_SIZE struct pl (avoids wrong print fmt %r usage) --- include/re_types.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/re_types.h b/include/re_types.h index 888051d80..cbef418dd 100644 --- a/include/re_types.h +++ b/include/re_types.h @@ -334,6 +334,7 @@ typedef int re_sock_t; char*: sizeof(char *), \ void const*: sizeof(void const *), \ void*: sizeof(void *), \ + struct pl: sizeof(struct pl), \ default: sizeof(void*) \ )