From edbd3b350cab23c9e51a0b2f94cfc16b93d2d965 Mon Sep 17 00:00:00 2001 From: Young-Ae Kang Date: Fri, 18 Dec 2015 20:41:34 +0900 Subject: [PATCH] Fixed SVACE defect. Change-Id: I1e721a9c3696632c6b1ff86f6c71927c23638006 --- gps-plugin/src/nmea_parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gps-plugin/src/nmea_parser.c b/gps-plugin/src/nmea_parser.c index 6820e48..b36a5e1 100644 --- a/gps-plugin/src/nmea_parser.c +++ b/gps-plugin/src/nmea_parser.c @@ -44,7 +44,7 @@ int used_sat[MAX_GPS_NUM_SAT_USED] = { 0, }; -static char nmea_parser_c2n(char ch) +static unsigned char nmea_parser_c2n(unsigned char ch) { if (ch <= '9') { return ch - '0'; -- 2.34.1