summaryrefslogtreecommitdiff
path: root/app/i18n/stripmsg.c
diff options
context:
space:
mode:
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 */