diff options
author | Herb Lewis <herb@samba.org> | 2000-09-26 14:48:52 +0000 |
---|---|---|
committer | Herb Lewis <herb@samba.org> | 2000-09-26 14:48:52 +0000 |
commit | ad81f44cdb77aa952db6f11b6e1e12ded616302d (patch) | |
tree | 3a79ddded3aa11a6245511e8ab498f05e1bbc69d /source3/include | |
parent | 56917236a0414a03fb4ec193243c5de123bd3aa5 (diff) | |
download | samba-ad81f44cdb77aa952db6f11b6e1e12ded616302d.tar.gz samba-ad81f44cdb77aa952db6f11b6e1e12ded616302d.tar.bz2 samba-ad81f44cdb77aa952db6f11b6e1e12ded616302d.zip |
fixed IRIX compiller error message
(This used to be commit 908da12d5f24ea076db6627ef0d4407e1cdcd014)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/smb_macros.h | 2 |
1 files changed, 1 insertions, 1 deletions
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)) |