gpsd-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gpsd-dev] [PATCH 2/2] Fix a signed/unsigned comparison warning.


From: Beat Bolli
Subject: [gpsd-dev] [PATCH 2/2] Fix a signed/unsigned comparison warning.
Date: Wed, 9 May 2012 23:25:43 +0200

---
 ntpshm.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ntpshm.c b/ntpshm.c
index 6a6f741..ebbf625 100644
--- a/ntpshm.c
+++ b/ntpshm.c
@@ -451,7 +451,7 @@ static int init_kernel_pps(struct gps_device_t *session) {
     int ldisc = 18;   /* the PPS line discipline */
     pps_params_t pp;
     glob_t globbuf;
-    int i;
+    unsigned int i;
     char pps_num = 0;     /* /dev/pps[pps_num] is our device */
     char path[GPS_PATH_MAX] = "";
 
-- 
1.7.10



reply via email to

[Prev in Thread] Current Thread [Next in Thread]