(show_info): Use correct cast sequence for 64bit machines.
authordrepper <drepper>
Mon, 22 Dec 1997 17:33:58 +0000 (17:33 +0000)
committerdrepper <drepper>
Mon, 22 Dec 1997 17:33:58 +0000 (17:33 +0000)
locale/programs/locale.c

index e09e6f1..93818e0 100644 (file)
@@ -657,7 +657,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;