summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-08-07 08:36:10 +0200
committerMichael Adam <obnox@samba.org>2009-08-07 08:36:10 +0200
commitbb067eb13c5dac4f567d00fb0cd8830fd6674a93 (patch)
tree1839b2082c95ddd1ada595cc45848d0fc3c87212 /src
parent6f255d0900dfe676d8b54b6a30788c0ef7bab487 (diff)
downloadtinyproxy-bb067eb13c5dac4f567d00fb0cd8830fd6674a93.tar.gz
tinyproxy-bb067eb13c5dac4f567d00fb0cd8830fd6674a93.zip
init_stats(): fix implicit cast warning.
Michael
Diffstat (limited to '')
-rw-r--r--src/stats.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stats.c b/src/stats.c
index 6abd4bd..9770a57 100644
--- a/src/stats.c
+++ b/src/stats.c
@@ -50,7 +50,7 @@ static struct stat_s *stats;
void
init_stats (void)
{
- stats = malloc_shared_memory (sizeof (struct stat_s));
+ stats = (struct stat_s *)malloc_shared_memory (sizeof (struct stat_s));
if (stats == MAP_FAILED)
return;