diff options
author | Mattias Andrée <maandree@operamail.com> | 2015-11-09 21:55:36 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2015-11-09 21:55:36 +0100 |
commit | 943f542f032b5061780d6dc0b4291c7c46b25cbe (patch) | |
tree | 5defbffd3e533155a9b7a954c07ec817ac215d96 /src | |
parent | update readme (diff) | |
download | sleep-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 '')
-rw-r--r-- | src/sleep-until.c | 2 |
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; |