--- main/stdtime/localtime.c (Asterisk 13.20) +++ main/stdtime/localtime.c (working copy) @@ -509 +509 @@ - sp = kev.udata; + sp = (struct state *) kev.udata;