summaryrefslogtreecommitdiff
path: root/gpsd.c
diff options
context:
space:
mode:
Diffstat (limited to 'gpsd.c')
-rw-r--r--gpsd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpsd.c b/gpsd.c
index 1084ceae..e8d02e3e 100644
--- a/gpsd.c
+++ b/gpsd.c
@@ -2243,7 +2243,7 @@ int main(int argc, char *argv[])
}
/* read any commands that came in over the control socket */
- for (cfd = 0; cfd < FD_SETSIZE; cfd++)
+ for (cfd = 0; cfd < (int)FD_SETSIZE; cfd++)
if (FD_ISSET(cfd, &control_fds)) {
char buf[BUFSIZ];
ssize_t rd;