summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-04-19 16:56:44 +0200
committerVolker Lendecke <vl@samba.org>2008-04-19 17:04:09 +0200
commit9ccbef219c9a4f6fe6c67a6806835659e47dd2ac (patch)
treed844f5bbe1cd5e8dc796c739c941c568c4ef80b9 /source3/lib
parentb7d2e94296f2201177e2fc08b0c6e12e4a36af50 (diff)
downloadsamba-9ccbef219c9a4f6fe6c67a6806835659e47dd2ac.tar.gz
samba-9ccbef219c9a4f6fe6c67a6806835659e47dd2ac.tar.bz2
samba-9ccbef219c9a4f6fe6c67a6806835659e47dd2ac.zip
Fix bug 5400
Thanks to Jason Mader! Volker (This used to be commit 87d8a63ce4e6dd91ea3193d0a2574520a5857be2)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/talloc/talloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/talloc/talloc.c b/source3/lib/talloc/talloc.c
index 9dcd8a2a83..d535c3d784 100644
--- a/source3/lib/talloc/talloc.c
+++ b/source3/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