init_stats(): fix implicit cast warning.
Michael
This commit is contained in:
parent
6f255d0900
commit
bb067eb13c
@ -50,7 +50,7 @@ static struct stat_s *stats;
|
|||||||
void
|
void
|
||||||
init_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)
|
if (stats == MAP_FAILED)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user