]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - ncurses/tinfo/make_keys.c
ncurses 5.9 - patch 20110925
[ncurses.git] / ncurses / tinfo / make_keys.c
index cf203afeffdd02b0b4c53a99cf18bafaaebe9e64..a7854e3fe604be840dbd885fe7281b3b5111640b 100644 (file)
@@ -37,9 +37,9 @@
  */
 
 #define USE_TERMLIB 1
  */
 
 #define USE_TERMLIB 1
-#include <curses.priv.h>
+#include <build.priv.h>
 
 
-MODULE_ID("$Id: make_keys.c,v 1.17 2010/05/01 19:17:28 tom Exp $")
+MODULE_ID("$Id: make_keys.c,v 1.19 2010/06/05 22:08:00 tom Exp $")
 
 #include <names.c>
 
 
 #include <names.c>
 
@@ -90,7 +90,7 @@ make_keys(FILE *ifp, FILE *ofp)
                continue;
            if (strlen(from) > maxlen)
                maxlen = (unsigned) strlen(from);
                continue;
            if (strlen(from) > maxlen)
                maxlen = (unsigned) strlen(from);
-           fprintf(ofp, "\t{ %4d, %-*.*s },\t/* %s */\n",
+           fprintf(ofp, "\t{ %4u, %-*.*s },\t/* %s */\n",
                    code,
                    (int) maxlen, (int) maxlen,
                    to,
                    code,
                    (int) maxlen, (int) maxlen,
                    to,