summaryrefslogtreecommitdiff
path: root/source4/lib/talloc
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-04-19 16:56:44 +0200
committerStefan Metzmacher <metze@samba.org>2008-09-14 18:47:15 +0200
commitf5d90683596e02023d0a81d7d7e4a1458dd28278 (patch)
tree5675e165c8bd15f5c88e4979ded8441592f02072 /source4/lib/talloc
parent121bcbdb7fdfb11e4864eb79cc1bd6d726a7c307 (diff)
downloadsamba-f5d90683596e02023d0a81d7d7e4a1458dd28278.tar.gz
samba-f5d90683596e02023d0a81d7d7e4a1458dd28278.tar.bz2
samba-f5d90683596e02023d0a81d7d7e4a1458dd28278.zip
Fix bug 5400
Thanks to Jason Mader! Volker (cherry picked from commit 87d8a63ce4e6dd91ea3193d0a2574520a5857be2) (This used to be commit 34ab9e5a23458c9f9845d1ff808c142cb2f1f2a4)
Diffstat (limited to 'source4/lib/talloc')
-rw-r--r--source4/lib/talloc/talloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/talloc/talloc.c b/source4/lib/talloc/talloc.c
index 12b85f5a65..baf88fe754 100644
--- a/source4/lib/talloc/talloc.c
+++ b/source4/lib/talloc/talloc.c
@@ -85,8 +85,8 @@
#define likely(x) __builtin_expect(!!(x), 1)
#define unlikely(x) __builtin_expect(!!(x), 0)
#else
-#define likely(x) x
-#define unlikely(x) x
+#define likely(x) (x)
+#define unlikely(x) (x)
#endif
/* this null_context is only used if talloc_enable_leak_report() or