aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-07-17 21:21:27 +0200
committerMattias Andrée <maandree@kth.se>2016-07-17 21:21:27 +0200
commitb45e333ff5da1b62236fc8937f377bf1f145d8a8 (patch)
tree6cf013bfd46ec3407c26cc54b779eb1a10884094
parentWhen reconnecting, reapply the ramps (diff)
downloadcoopgammad-b45e333ff5da1b62236fc8937f377bf1f145d8a8.tar.gz
coopgammad-b45e333ff5da1b62236fc8937f377bf1f145d8a8.tar.bz2
coopgammad-b45e333ff5da1b62236fc8937f377bf1f145d8a8.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@kth.se>
-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