summaryrefslogtreecommitdiffstats
path: root/lib/libc/nls
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/nls')
-rw-r--r--lib/libc/nls/msgcat.c6
-rw-r--r--lib/libc/nls/msgcat.h4
2 files changed, 5 insertions, 5 deletions
diff --git a/lib/libc/nls/msgcat.c b/lib/libc/nls/msgcat.c
index 8df18ae..1110810 100644
--- a/lib/libc/nls/msgcat.c
+++ b/lib/libc/nls/msgcat.c
@@ -1,4 +1,4 @@
-/* $Id: msgcat.c,v 1.3 1995/06/17 03:02:21 ache Exp $ */
+/* $Id: msgcat.c,v 1.4 1995/10/22 14:39:22 phk Exp $ */
/***********************************************************
Copyright 1990, by Alfalfa Software Incorporated, Cambridge, Massachusetts.
@@ -312,13 +312,13 @@ int type;
if (strncmp(header.magic, MCMagic, MCMagicLen) != 0) CORRUPT();
if (header.majorVer != MCMajorVer) {
- fprintf(stderr, "%s: %s is version %d, we need %d.\n", ERRNAME,
+ fprintf(stderr, "%s: %s is version %ld, we need %ld.\n", ERRNAME,
catpath, header.majorVer, MCMajorVer);
return(0);
}
if (header.numSets <= 0) {
- fprintf(stderr, "%s: %s has %d sets!\n", ERRNAME, catpath,
+ fprintf(stderr, "%s: %s has %ld sets!\n", ERRNAME, catpath,
header.numSets);
return(0);
}
diff --git a/lib/libc/nls/msgcat.h b/lib/libc/nls/msgcat.h
index 4fabb59..354ca1e 100644
--- a/lib/libc/nls/msgcat.h
+++ b/lib/libc/nls/msgcat.h
@@ -1,4 +1,4 @@
-/* $Id: msgcat.h,v 1.1 1995/03/30 12:47:27 jkh Exp $ */
+/* $Id: msgcat.h,v 1.2 1995/05/30 05:41:00 rgrimes Exp $ */
/* -*-c++-*- */
@@ -66,7 +66,7 @@ up-to-date. Many thanks.
#define MCLastMsg 0
#define MCLastSet 0
-#define MCMajorVer 1
+#define MCMajorVer 1L
#define MCMinorVer 0
/*
OpenPOWER on IntegriCloud