summaryrefslogtreecommitdiff
path: root/test/locale-mbwc/dat_mbtowc.c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-06-05 23:09:24 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-06-05 23:09:24 +0200
commitd80e49d7b6da04efac6ece21497d32b14abb089f (patch)
tree2ba477d7059c4f435654ec55bdea77473b805564 /test/locale-mbwc/dat_mbtowc.c
parent84b58ef8701d3d7d6071b391196ee78556f724df (diff)
test: quieten some gcc warnings
Fix some gcc warnings while compiling the testsuite.
Diffstat (limited to 'test/locale-mbwc/dat_mbtowc.c')
-rw-r--r--test/locale-mbwc/dat_mbtowc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/locale-mbwc/dat_mbtowc.c b/test/locale-mbwc/dat_mbtowc.c
index 6527dfc2e..9a7a9c358 100644
--- a/test/locale-mbwc/dat_mbtowc.c
+++ b/test/locale-mbwc/dat_mbtowc.c
@@ -135,7 +135,7 @@ TST_MBTOWC tst_mbtowc_loc [] = {
{
{ 0, 1, "\xfc\xe4\xf6", MB_LEN_MAX },
{ 0, 1, "\177", MB_LEN_MAX },
- { 0, 0, (char)NULL, MB_LEN_MAX },
+ { 0, 0, NULL, MB_LEN_MAX },
}
},
{
@@ -221,7 +221,7 @@ TST_MBTOWC tst_mbtowc_loc [] = {
{
{ 0, 1, "ABC", MB_LEN_MAX },
{ 0, 1, "\177", MB_LEN_MAX },
- { 0, 0, (char)NULL, MB_LEN_MAX },
+ { 0, 0, NULL, MB_LEN_MAX },
}
},
{
@@ -322,7 +322,7 @@ TST_MBTOWC tst_mbtowc_loc [] = {
{
{ 0, 1, "\244\242A", MB_LEN_MAX },
{ 0, 1, "\177\244\242", MB_LEN_MAX },
- { 0, 0, (char)NULL, MB_LEN_MAX },
+ { 0, 0, NULL, MB_LEN_MAX },
}
},
{
@@ -423,7 +423,7 @@ TST_MBTOWC tst_mbtowc_loc [] = {
{
{ 0, 1, "\343\201\202A", MB_LEN_MAX },
{ 0, 1, "\177\343\201\202", MB_LEN_MAX },
- { 0, 0, (char)NULL, MB_LEN_MAX },
+ { 0, 0, NULL, MB_LEN_MAX },
}
},
{