diff options
Diffstat (limited to 'lib/util')
-rw-r--r-- | lib/util/nstring.h | 2 |
1 files changed, 1 insertions, 1 deletions
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)))) |