git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5691723
)
fixed IRIX compiller error message
author
Herb Lewis
<herb@samba.org>
Tue, 26 Sep 2000 14:48:52 +0000
(14:48 +0000)
committer
Herb Lewis
<herb@samba.org>
Tue, 26 Sep 2000 14:48:52 +0000
(14:48 +0000)
(This used to be commit
908da12d5f24ea076db6627ef0d4407e1cdcd014
)
source3/include/smb_macros.h
patch
|
blob
|
history
diff --git
a/source3/include/smb_macros.h
b/source3/include/smb_macros.h
index 9fe7f26cb311c50e5c1e15764ff3bd972cd7155e..fe0d15149bb0e7737471013b3ff60cc9718f65f1 100644
(file)
--- 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))