1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

fixed IRIX compiller error message

(This used to be commit 908da12d5f)
This commit is contained in:
Herb Lewis 2000-09-26 14:48:52 +00:00
parent 56917236a0
commit ad81f44cdb

View File

@ -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))