summaryrefslogtreecommitdiff
path: root/source4/lib/tdb/tools
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-09-07 15:35:18 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:05:28 -0500
commit959915a8cbea0c598ef1f29ce666329a521ef2f6 (patch)
tree68e1b2b483f60be3839dc476ab0ca0fb4dd0ec0b /source4/lib/tdb/tools
parentcd962355abad90a2161765a7be7d26e63572cab7 (diff)
downloadsamba-959915a8cbea0c598ef1f29ce666329a521ef2f6.tar.gz
samba-959915a8cbea0c598ef1f29ce666329a521ef2f6.tar.bz2
samba-959915a8cbea0c598ef1f29ce666329a521ef2f6.zip
r25001: Fix more C++ and other warnings, fix some of the indentation with ts=4 lines that I accidently added earlier.
(This used to be commit 0bcb21ed740fcec0f48ad36bbc2deee2948e8fc7)
Diffstat (limited to 'source4/lib/tdb/tools')
-rw-r--r--source4/lib/tdb/tools/tdbtorture.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/tdb/tools/tdbtorture.c b/source4/lib/tdb/tools/tdbtorture.c
index 14a2b48cdc..ca71c736ad 100644
--- a/source4/lib/tdb/tools/tdbtorture.c
+++ b/source4/lib/tdb/tools/tdbtorture.c
@@ -238,7 +238,7 @@ static void usage(void)
unlink("torture.tdb");
- pids = calloc(sizeof(pid_t), num_procs);
+ pids = (pid_t *)calloc(sizeof(pid_t), num_procs);
pids[0] = getpid();
for (i=0;i<num_procs-1;i++) {