talloc/testsuite: fix compiler warnings
authorStefan Metzmacher <metze@samba.org>
Wed, 4 Jan 2012 11:57:10 +0000 (12:57 +0100)
committerStefan Metzmacher <metze@samba.org>
Tue, 10 Jan 2012 12:31:33 +0000 (13:31 +0100)
metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Tue Jan 10 13:31:33 CET 2012 on sn-devel-104

lib/talloc/testsuite.c

index 7860ad2be67776e1a876d4f28c89a7f306a7d356..71917038be9f01ee466987052b44ac63fca1f192 100644 (file)
@@ -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);