]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Use correct cast from pointer value.
authorUlrich Drepper <drepper@redhat.com>
Sun, 21 Dec 1997 21:12:27 +0000 (21:12 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sun, 21 Dec 1997 21:12:27 +0000 (21:12 +0000)
locale/programs/locale.c

index d5b362c8c22f31e5accfbecc809c9f969aa57142..d63cac2d1bd5c4988dfb62842c1b5568e6e3eba9 100644 (file)
@@ -597,7 +597,8 @@ show_info (const char *name)
          break;
        case word:
          {
-           unsigned int val = (unsigned int) nl_langinfo (item->item_id);
+           unsigned int val =
+             (unsigned int) (unsigned long int) nl_langinfo (item->item_id);
            printf ("%d", val);
          }
          break;