aboutsummaryrefslogtreecommitdiff
path: root/locale
diff options
context:
space:
mode:
Diffstat (limited to 'locale')
-rw-r--r--locale/C-monetary.c4
-rw-r--r--locale/C-numeric.c4
-rw-r--r--locale/indigitswc.h4
3 files changed, 6 insertions, 6 deletions
diff --git a/locale/C-monetary.c b/locale/C-monetary.c
index 6c7b4587f9..96a1e52f25 100644
--- a/locale/C-monetary.c
+++ b/locale/C-monetary.c
@@ -78,7 +78,7 @@ const struct locale_data _nl_C_LC_MONETARY =
{ word: 99991231 },
{ word: 1 },
{ word: 1 },
- { wstr: (uint32_t *) L"." },
- { wstr: (uint32_t *) L"" }
+ { word: (unsigned int) L'.' },
+ { word: (unsigned int) L'\0' }
}
};
diff --git a/locale/C-numeric.c b/locale/C-numeric.c
index 00c692799f..fc2e104304 100644
--- a/locale/C-numeric.c
+++ b/locale/C-numeric.c
@@ -37,7 +37,7 @@ const struct locale_data _nl_C_LC_NUMERIC =
{ string: "." },
{ string: "" },
{ string: not_available },
- { wstr: (uint32_t *) L"." },
- { wstr: (uint32_t *) L"" }
+ { word: (unsigned int) L'.' },
+ { word: (unsigned int) L'\0' }
}
};
diff --git a/locale/indigitswc.h b/locale/indigitswc.h
index 8afbb7ea17..7bd871527e 100644
--- a/locale/indigitswc.h
+++ b/locale/indigitswc.h
@@ -49,7 +49,7 @@ indigitwc_value (wchar_t wc, int *decided)
/* Get the string for the digits with value N. */
wcdigits[n] = _NL_CURRENT (LC_CTYPE, _NL_CTYPE_INDIGITS0_WC + n);
- if (wc == wcdigits[n])
+ if (wc == *wcdigits[n])
{
/* Found it. */
if (*decided == -1)
@@ -67,7 +67,7 @@ indigitwc_value (wchar_t wc, int *decided)
/* Search all ten digits of this level. */
for (n = 0; n < 10; ++n)
{
- if (wc == wcdigits[n])
+ if (wc == *wcdigits[n])
{
/* Found it. */
if (*decided == -1)