summaryrefslogtreecommitdiff
path: root/source4/cluster/ctdb/include/includes.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-04-17 18:44:48 +0200
committerAndrew Bartlett <abartlet@samba.org>2008-04-17 18:44:48 +0200
commit22bbb0ebe67bc1eb4014d399edcf03340fd6c803 (patch)
tree28a62f0221e2c499ee108c205567033dbafa54da /source4/cluster/ctdb/include/includes.h
parentc9a12fa55d63e4bccb5b453186022dae1da39032 (diff)
parent3180cbbc5b3396da07c325166e472b143b3abe1e (diff)
downloadsamba-22bbb0ebe67bc1eb4014d399edcf03340fd6c803.tar.gz
samba-22bbb0ebe67bc1eb4014d399edcf03340fd6c803.tar.bz2
samba-22bbb0ebe67bc1eb4014d399edcf03340fd6c803.zip
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
(This used to be commit 43fc10aaa7c3d50cb9fee5ecab859103aec4a62e)
Diffstat (limited to 'source4/cluster/ctdb/include/includes.h')
-rw-r--r--source4/cluster/ctdb/include/includes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/cluster/ctdb/include/includes.h b/source4/cluster/ctdb/include/includes.h
index 48c3c2ea4c..0ed44cbad0 100644
--- a/source4/cluster/ctdb/include/includes.h
+++ b/source4/cluster/ctdb/include/includes.h
@@ -21,7 +21,7 @@ extern int LogLevel;
#define ZERO_STRUCT(x) memset((char *)&(x), 0, sizeof(x))
#ifndef discard_const
-#define discard_const(ptr) ((void *)((intptr_t)(ptr)))
+#define discard_const(ptr) ((void *)((uintptr_t)(ptr)))
#endif
struct timeval timeval_zero(void);