summaryrefslogtreecommitdiff
path: root/app/i18n/stripmsg.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2022-02-06 16:04:57 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2022-02-06 16:04:57 +0100
commit59dccf358523dfc7679d1d8c120452a71e42243c (patch)
treef0f3cc006e8157d6bd699bd644b7dd7b35387ac2 /app/i18n/stripmsg.c
parentfd6639655b399a79fb72f494786a4f57da9c90e7 (diff)
parentd0ca838c7ab297036b4a7c45351761a48fe05efd (diff)
Merge branch 'feature/upstrem' into develop
Diffstat (limited to 'app/i18n/stripmsg.c')
-rw-r--r--app/i18n/stripmsg.c4
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 */