[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gpsd-dev] [PATCH 2/2] Fix a signed/unsigned comparison warning.
From: |
Gary E. Miller |
Subject: |
Re: [gpsd-dev] [PATCH 2/2] Fix a signed/unsigned comparison warning. |
Date: |
Wed, 9 May 2012 14:44:14 -0700 |
Yo Beat!
Fix now in git head. It should really be size_t.
On Wed, 9 May 2012 23:25:43 +0200
Beat Bolli <address@hidden> wrote:
> ---
> 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] = "";
>
RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97701
address@hidden Tel:+1(541)382-8588
signature.asc
Description: PGP signature