aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/util.c2
-rw-r--r--src/util.h2
2 files changed, 2 insertions, 2 deletions
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