From a3c89538635b2141c30b1261adc8e1a1f4484ccf Mon Sep 17 00:00:00 2001 From: giraffedata Date: Wed, 8 Jun 2022 20:02:24 +0000 Subject: Fix MEMSEQ git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4350 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- lib/util/nstring.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/util') diff --git a/lib/util/nstring.h b/lib/util/nstring.h index 8829617d..e1ef0747 100644 --- a/lib/util/nstring.h +++ b/lib/util/nstring.h @@ -32,7 +32,7 @@ extern "C" { #define MEMEQ(a,b,c) (memcmp(a, b, c) == 0) -#define MEMSEQ(a,b) (memeq(a, b, sizeof(*(a))) == 0) +#define MEMSEQ(a,b) (memeq(a, b, sizeof(*(a)))) #define MEMSSET(a,b) (memset(a, b, sizeof(*(a)))) -- cgit 1.4.1