From ad81f44cdb77aa952db6f11b6e1e12ded616302d Mon Sep 17 00:00:00 2001 From: Herb Lewis Date: Tue, 26 Sep 2000 14:48:52 +0000 Subject: fixed IRIX compiller error message (This used to be commit 908da12d5f24ea076db6627ef0d4407e1cdcd014) --- source3/include/smb_macros.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/include') diff --git a/source3/include/smb_macros.h b/source3/include/smb_macros.h index 9fe7f26cb3..fe0d15149b 100644 --- a/source3/include/smb_macros.h +++ b/source3/include/smb_macros.h @@ -54,7 +54,7 @@ #define PTR_DIFF(p1,p2) ((ptrdiff_t)(((const char *)(p1)) - (const char *)(p2))) /* assert macros */ -#define SMB_ASSERT(b) ((b)?0: \ +#define SMB_ASSERT(b) ((b)?(void)0: \ (DEBUG(0,("PANIC: assert failed at %s(%d)\n", \ __FILE__, __LINE__)), smb_panic("assert failed"))) #define SMB_ASSERT_ARRAY(a,n) SMB_ASSERT((sizeof(a)/sizeof((a)[0])) >= (n)) -- cgit