init_stats(): fix implicit cast warning.

Michael
This commit is contained in:
Michael Adam 2009-08-07 08:36:10 +02:00
parent 6f255d0900
commit bb067eb13c

View File

@ -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;