]> git.puffer.fish Git - matthieu/frr.git/commit
lib: fix `time_t` print without cast
authorDavid Lamparter <equinox@opensourcerouting.org>
Tue, 30 Apr 2024 12:18:03 +0000 (14:18 +0200)
committerDavid Lamparter <equinox@opensourcerouting.org>
Thu, 2 May 2024 20:26:53 +0000 (22:26 +0200)
commit552a0a3a284194dc4f9dac3d72259e9d622813e1
tree54fb1c29e0989083012932f0c32d984a5e3817ea
parentafb3020e285af046efb0fbe8c53e15f2244f0540
lib: fix `time_t` print without cast

The gcc plugin wasn't warning about printing `suseconds_t` (which is
`time_t`, but in `struct timeval`.)  It needs to be printed with a cast,
just like `time_t`.  Luckily there is only one such usage.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
lib/northbound_oper.c