From fdbc32b0d1dcf53e5798839daa1c97e1ddb58859 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Fri, 26 Dec 2025 21:24:17 +0100 Subject: [PATCH] tidy-up: parenthesis in macros (OS400) Follow-up to d97d8e31980a514c50c289836c4489ee8ffec634 #1773 Closes #1774 --- os400/ccsid.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/os400/ccsid.c b/os400/ccsid.c index a9b582da..20c896f6 100644 --- a/os400/ccsid.c +++ b/os400/ccsid.c @@ -57,10 +57,9 @@ #define OFFSET_OF(t, f) ((size_t) ((char *) &((t *) 0)->f - (char *) 0)) -#define ALLOC(s, sz) ((s)? LIBSSH2_ALLOC((s), (sz)): malloc(sz)) -#define REALLOC(s, p, sz) ((s)? LIBSSH2_REALLOC((s), (p), (sz)): \ - realloc((p), (sz))) -#define FREE(s, p) ((s)? LIBSSH2_FREE((s), (p)): free(p)) +#define ALLOC(s, sz) ((s) ? LIBSSH2_ALLOC(s, sz) : malloc(sz)) +#define REALLOC(s, p, sz) ((s) ? LIBSSH2_REALLOC(s, p, sz) : realloc(p, sz)) +#define FREE(s, p) ((s) ? LIBSSH2_FREE(s, p) : free(p)) struct _libssh2_string_cache { libssh2_string_cache * next;