From bb067eb13c5dac4f567d00fb0cd8830fd6674a93 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Fri, 7 Aug 2009 08:36:10 +0200 Subject: init_stats(): fix implicit cast warning. Michael --- src/stats.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3