aboutsummaryrefslogtreecommitdiffstats
path: root/src/sleep-until.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-11-09 21:55:36 +0100
committerMattias Andrée <maandree@operamail.com>2015-11-09 21:55:36 +0100
commit943f542f032b5061780d6dc0b4291c7c46b25cbe (patch)
tree5defbffd3e533155a9b7a954c07ec817ac215d96 /src/sleep-until.c
parentupdate readme (diff)
downloadsleep-until-943f542f032b5061780d6dc0b4291c7c46b25cbe.tar.gz
sleep-until-943f542f032b5061780d6dc0b4291c7c46b25cbe.tar.bz2
sleep-until-943f542f032b5061780d6dc0b4291c7c46b25cbe.tar.xz
deps + makefile + info + fix warning
Signed-off-by: Mattias Andrée <maandree@operamail.com>
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;