mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
fixed IRIX compiller error message
This commit is contained in:
parent
0374bc4b5f
commit
908da12d5f
@ -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))
|
||||
|
Loading…
x
Reference in New Issue
Block a user