BuildSystem: Cast any intptr_t explicitly to its proposed type.
authorAlexander Traud <pabstraud@compuserve.com>
Sat, 3 Mar 2018 14:30:47 +0000 (15:30 +0100)
committerAlexander Traud <pabstraud@compuserve.com>
Sat, 3 Mar 2018 14:30:47 +0000 (15:30 +0100)
ASTERISK-27713

Change-Id: I90c769e3c7f8c26de8a3af11335862cec15a1b22

main/stdtime/localtime.c

index 2976e59..ded4421 100644 (file)
@@ -504,7 +504,7 @@ static void *kqueue_daemon(void *data)
                        continue;
                }
 
-               sp = kev.udata;
+               sp = (struct state *) kev.udata;
 
                AST_LIST_LOCK(&zonelist);
                /* see comment near psx_sp in add_notify() */