diff options
author | Michael Adam <obnox@samba.org> | 2009-08-07 08:36:10 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2009-08-07 08:36:10 +0200 |
commit | bb067eb13c5dac4f567d00fb0cd8830fd6674a93 (patch) | |
tree | 1839b2082c95ddd1ada595cc45848d0fc3c87212 /src | |
parent | 6f255d0900dfe676d8b54b6a30788c0ef7bab487 (diff) | |
download | tinyproxy-bb067eb13c5dac4f567d00fb0cd8830fd6674a93.tar.gz tinyproxy-bb067eb13c5dac4f567d00fb0cd8830fd6674a93.zip |
init_stats(): fix implicit cast warning.
Michael
Diffstat (limited to '')
-rw-r--r-- | src/stats.c | 2 |
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; |