diff --git a/performance_timing.c b/performance_timing.c index 7c989b18..c37b8b70 100644 --- a/performance_timing.c +++ b/performance_timing.c @@ -138,7 +138,7 @@ int fd_clearstats() int fd_showstats() { - struct profile_total total={NULL, 0, "Total", 0,0,0}; + struct profile_total total={NULL, 0, "Total", 0,0,0,0}; stats_head = sort(stats_head); diff --git a/serval.h b/serval.h index 96284911..e46369fe 100644 --- a/serval.h +++ b/serval.h @@ -391,7 +391,7 @@ struct overlay_buffer; struct overlay_frame; struct broadcast; -#define STRUCT_SCHED_ENT_UNUSED {.poll.fd=-1, ._poll_index=-1,} +#define STRUCT_SCHED_ENT_UNUSED {.poll={.fd=-1}, ._poll_index=-1,} extern int overlayMode;