summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-01-04 12:57:10 +0100
committerStefan Metzmacher <metze@samba.org>2012-01-10 13:31:33 +0100
commit91ffcdd5a962141f1b780126621ca8b908da8dcf (patch)
tree4e250199eb409d47ebcbb6559a6a2ee07b20e7c3 /lib
parenta8441f933e495a12a6c5717e6203140962439728 (diff)
downloadsamba-91ffcdd5a962141f1b780126621ca8b908da8dcf.tar.gz
samba-91ffcdd5a962141f1b780126621ca8b908da8dcf.tar.bz2
samba-91ffcdd5a962141f1b780126621ca8b908da8dcf.zip
talloc/testsuite: fix compiler warnings
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Jan 10 13:31:33 CET 2012 on sn-devel-104
Diffstat (limited to 'lib')
-rw-r--r--lib/talloc/testsuite.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/talloc/testsuite.c b/lib/talloc/testsuite.c
index 7860ad2be6..71917038be 100644
--- a/lib/talloc/testsuite.c
+++ b/lib/talloc/testsuite.c
@@ -1315,7 +1315,8 @@ static bool test_rusty(void)
static bool test_free_children(void)
{
void *root;
- const char *p1, *p2, *name, *name2;
+ char *p1, *p2;
+ const char *name, *name2;
talloc_enable_null_tracking();
root = talloc_new(NULL);