gpsd-commit-watch
[Top][All Lists]
Advanced

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

[gpsd-commit-watch] [SCM] GPSD branch, master, updated. release-3.11-113


From: Eric S. Raymond
Subject: [gpsd-commit-watch] [SCM] GPSD branch, master, updated. release-3.11-113-g280d52b
Date: Wed, 10 Sep 2014 13:10:18 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GPSD".

The branch, master has been updated
       via  280d52b7d78ad2ba695f5f6faa61f0679c447f3c (commit)
      from  60583e9ee10b778934452845f004b94ce5c74205 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 280d52b7d78ad2ba695f5f6faa61f0679c447f3c
Author: Matt <address@hidden>
Date:   Wed Sep 10 01:09:43 2014 +1000

    Silence compiler warnings about array subscripts of type 'char'
    
    Cygwin GCC complains about code like isprint(c), where c is of type char.
    The isX() and toX() functions/macros (ISO C allows either) all accept an
    int, whose value should be either that of an unsigned char, or the
    special value EOF (== -1).
    So cast to unsigned char each argument to isprint, tolower, etc.
    
    Silences several warnings of the form:
    
    gpsutils.c: In function 'safe_atof':
    gpsutils.c:90:5: warning: array subscript has type 'char'
    [-Wchar-subscripts]
          while (isspace(*p)) {
          ^
    gpsutils.c:188:2: warning: array subscript has type 'char'
    [-Wchar-subscripts]
       while (isdigit(*p)) {
       ^

-----------------------------------------------------------------------

Summary of changes:
 gpsd.c         |   14 +++++++-------
 gpsmon.c       |   10 +++++-----
 gpsutils.c     |    4 ++--
 hex.c          |    2 +-
 json.c         |   22 +++++++++++-----------
 libgpsd_core.c |    2 +-
 packet.c       |    6 +++---
 7 files changed, 30 insertions(+), 30 deletions(-)


hooks/post-receive
-- 
GPSD



reply via email to

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