diff options
| author | Petr Štetiar | 2019-06-25 14:43:18 +0000 |
|---|---|---|
| committer | Petr Štetiar | 2019-06-25 14:43:18 +0000 |
| commit | 198c06051dd020a0f5776f3a80ebda7ee0659d90 (patch) | |
| tree | 9ff41801f51745dfdaf695cd0b27cbb0ae4b7a66 | |
| parent | fc2ab8756b3bee3ba193790d8ce8577c4c6b534d (diff) | |
| download | ugps-198c06051dd020a0f5776f3a80ebda7ee0659d90.tar.gz | |
Fix build error caused by enabled extra compiler warnings
nmea.c:257:16: error: comparison between signed and
unsigned integer expressions [-Werror=sign-compare]
Signed-off-by: Petr Štetiar <ynezz@true.cz>
| -rw-r--r-- | nmea.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -233,7 +233,8 @@ static void nmea_process(char *a) { char *csum; - int cnt, i; + int cnt; + unsigned int i; if (strncmp(a, "$GP", 3)) return; |