From 5d2c2b27a6323e2666378b986129b2a7c2c39e5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 6 Feb 2022 16:04:24 +0100 Subject: New upstream version 5.2.2GA --- app/i18n/stripmsg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/i18n/stripmsg.c') diff --git a/app/i18n/stripmsg.c b/app/i18n/stripmsg.c index 6010530..b3b37dd 100644 --- a/app/i18n/stripmsg.c +++ b/app/i18n/stripmsg.c @@ -153,7 +153,7 @@ void process( mode_e mode, FILE * inFile, char *fileName ) *cp++ = 'n'; /* read a line */ - if (!fgets( cp, (sizeof(line)) - (cp-line), inFile )) { + if (!fgets( cp, (int)((sizeof(line)) - (cp-line)), inFile) ) { return; } lineNo++; @@ -171,7 +171,7 @@ void process( mode_e mode, FILE * inFile, char *fileName ) if (strchr(line, '"')) { printf("N_(\""); - len = strlen(line); + len = (int)(strlen(line)); for (i = 0; i < len; i++) { /* Escape double quotation marks */ -- cgit v1.2.3