summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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;