]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/service.c
service: explicitly cast float to usec_t
authorLennart Poettering <lennart@poettering.net>
Thu, 6 Jul 2023 09:21:32 +0000 (11:21 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 6 Jul 2023 09:21:35 +0000 (11:21 +0200)
commit4ab426bf56598e4ec449e3abbb285b7fda4ea25f
treef88a463ba951af5666d10814d1f0e5623572dd09
parentea792cacb9e805483d4b0b0441d97794adf983d9
service: explicitly cast float to usec_t

Let's cast these floats explicitly to usec_t, since implicit
float-to-integer casts are dangerous business, and we should underline
that there's a cast happening here.
src/core/service.c