[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gpsd-dev] [PATCH]: Silence another warning about array subscripts of ty
From: |
Matt |
Subject: |
[gpsd-dev] [PATCH]: Silence another warning about array subscripts of type 'char' |
Date: |
Wed, 14 Jan 2015 00:25:34 +1100 |
Silences warning:
gcc -o cgps.o -c -D_GNU_SOURCE -Wmissing-prototypes -Wextra -Wall
-Wno-uninitialized -Wno-missing-field-initializers -Wcast-align
-Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes
-Wpointer-arith -Wreturn-type -Wmissing-declarations -g -O0 cgps.c
cgps.c: In function 'update_gps_panel':
cgps.c:639:2: warning: array subscript has type 'char' [-Wchar-subscripts]
for (p = s + strlen(s); --p > s && isspace(*p); *p = '\0')
^
silence-another-char-isspace-warning.patch
Description: Binary data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gpsd-dev] [PATCH]: Silence another warning about array subscripts of type 'char',
Matt <=