render: fix 'suggest braces around initialization...' warning (clang)

This commit is contained in:
Daniel Eklöf 2019-07-30 20:28:21 +02:00
parent 263d3bb2ba
commit f630633a81
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -498,7 +498,7 @@ grid_render(struct terminal *term)
if (timerfd_settime(
term->blink.fd, 0,
&(struct itimerspec){0}, NULL) < 0)
&(struct itimerspec){{0}}, NULL) < 0)
{
LOG_ERRNO("failed to disarm blink timer");
}