diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2024-11-14 19:35:45 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2024-11-14 19:35:45 +0100 |
commit | df5520aa2dae5b3ce7abf8733dcdd152898af163 (patch) | |
tree | 00d3047bfb14f682bfb5a21010c731ed649bfed7 /app/i18n/stripmsg.c | |
parent | df247efec654e512242e4f4f1b0212034f9e01fe (diff) | |
parent | ec3c0f6f6e7153fa797dc57a0e95779cbc63a23b (diff) |
Merge branch 'release/debian/1_5.3.0GA-1'debian/1_5.3.0GA-1
Diffstat (limited to 'app/i18n/stripmsg.c')
-rw-r--r-- | app/i18n/stripmsg.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/i18n/stripmsg.c b/app/i18n/stripmsg.c index 6010530..1271519 100644 --- a/app/i18n/stripmsg.c +++ b/app/i18n/stripmsg.c @@ -13,7 +13,7 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ #include <stdlib.h> @@ -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 */ |