pnm2ppa/SOURCES/pnm2ppa-optargs-read.patch
2022-05-17 17:50:22 +00:00

14 lines
315 B
Diff

diff --git a/pnm2ppa.c b/pnm2ppa.c
index 4ae36ce..0d60fbb 100644
--- a/pnm2ppa.c
+++ b/pnm2ppa.c
@@ -604,7 +604,7 @@ main (int argc, char *argv[])
int i, opt_index;
FILE *in = NULL, *out = NULL, *gf = NULL;
struct stat tmpstat;
- char c;
+ int c;
BOOLEAN get_Gamma = true;
char *gammaFile=NULL;