diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2022-02-06 16:04:24 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2022-02-06 16:04:24 +0100 |
commit | 5d2c2b27a6323e2666378b986129b2a7c2c39e5c (patch) | |
tree | ce8982b6c0111f79791068de2c2d4c6ce3138a49 /app/i18n/stripmsg.c | |
parent | b623f5953691b2a0614e6f1f4def86bdbb9a4113 (diff) |
New upstream version 5.2.2GAupstream/5.2.2GA
Diffstat (limited to 'app/i18n/stripmsg.c')
-rw-r--r-- | app/i18n/stripmsg.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 */ |