From 356acfb97f0614c28aa5192475746e3faf338597 Mon Sep 17 00:00:00 2001 From: Thomas Karl Pietrowski Date: Wed, 4 Dec 2019 08:10:14 +0100 Subject: [PATCH] argument parsing: Correcting data type to int .., otherwise the while-clause below will likely not become -1. --- lpcflash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lpcflash.c b/lpcflash.c index 726ec62..dada7fb 100644 --- a/lpcflash.c +++ b/lpcflash.c @@ -94,7 +94,7 @@ int main(int argc, char **argv) char *binfile = NULL; char *outfile = NULL; - char c = 0; + int c = 0; int serial_fd = 0; int verbose = 0;