aboutsummaryrefslogtreecommitdiffstats
path: root/src/sleep-until.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sleep-until.c')
-rw-r--r--src/sleep-until.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sleep-until.c b/src/sleep-until.c
index 6177e80..dd2a055 100644
--- a/src/sleep-until.c
+++ b/src/sleep-until.c
@@ -89,7 +89,7 @@ int main(int argc, char* argv[])
if (value.it_value.tv_sec == largest_value.it_value.tv_sec)
if (value.it_value.tv_nsec >= largest_value.it_value.tv_nsec)
break;
- if (read(fd, &_expirations, 8) < 8)
+ if (read(fd, &_expirations, (size_t)8) < 8)
{
if (errno == EINTR)
continue;