aboutsummaryrefslogtreecommitdiff
path: root/stdlib
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2006-05-15 18:42:19 +0000
committerUlrich Drepper <drepper@redhat.com>2006-05-15 18:42:19 +0000
commitfd5ea23820c6a51289a92e99219870027f38e27d (patch)
tree775dc050f6bf50a06b592589e585408c17dd6c6a /stdlib
parent* locale/setlocale.c: Change _nl_category_names into a string. (diff)
downloadglibc-fd5ea23820c6a51289a92e99219870027f38e27d.tar.gz
glibc-fd5ea23820c6a51289a92e99219870027f38e27d.tar.bz2
glibc-fd5ea23820c6a51289a92e99219870027f38e27d.zip
* stdlib/fmtmsg.c (keywords): Change type of len element to
uint32_t to not waste space on 64bit machines.
Diffstat (limited to 'stdlib')
-rw-r--r--stdlib/fmtmsg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/fmtmsg.c b/stdlib/fmtmsg.c
index e0f4061cee..2a4d16a461 100644
--- a/stdlib/fmtmsg.c
+++ b/stdlib/fmtmsg.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997,1999,2000-2003,2005 Free Software Foundation, Inc.
+/* Copyright (C) 1997,1999,2000-2003,2005, 2006 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
@@ -44,7 +44,7 @@ enum
static const struct
{
- size_t len;
+ uint32_t len;
/* Adjust the size if new elements are added. */
const char name[12];
} keywords[] =