summaryrefslogtreecommitdiffstats
path: root/src/havegecmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/havegecmd.c')
-rw-r--r--src/havegecmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/havegecmd.c b/src/havegecmd.c
index 2bad675..9ced105 100644
--- a/src/havegecmd.c
+++ b/src/havegecmd.c
@@ -371,7 +371,7 @@ ssize_t safein( /* RETURN: read bytes */
if (ret < 0 || avail <=0)
goto out;
- if (len > avail)
+ if (len > (unsigned int) avail)
len = avail;
do {