From b45e333ff5da1b62236fc8937f377bf1f145d8a8 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 17 Jul 2016 21:21:27 +0200 Subject: m MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/util.c | 2 +- src/util.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/util.c b/src/util.c index 3e2bdd2..0d6b715 100644 --- a/src/util.c +++ b/src/util.c @@ -182,7 +182,7 @@ int dup2atleast(int fd, int atleast) * @param ms The number of milliseconds to sleep, * must be less than 1000 */ -void msleep(int ms) +void msleep(unsigned ms) { struct timespec ts; ts.tv_sec = 0; diff --git a/src/util.h b/src/util.h index 5d23f93..915c44a 100644 --- a/src/util.h +++ b/src/util.h @@ -89,7 +89,7 @@ int dup2atleast(int fd, int atleast); * @param ms The number of milliseconds to sleep, * must be less than 1000 */ -void msleep(int ms); +void msleep(unsigned ms); /** * Check whether a NUL-terminated string is encoded in UTF-8 -- cgit v1.2.3-70-g09d2