summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorCarmelo Amoroso <carmelo.amoroso@st.com>2008-06-11 15:03:31 +0000
committerCarmelo Amoroso <carmelo.amoroso@st.com>2008-06-11 15:03:31 +0000
commita558a51698b9b4974ec29fb7ae105bfe41084414 (patch)
tree0f02e16512d17bf3b5aa9a0c37d897de45962c4d /extra
parent1ce54cfccd0f823a460253bc48818de61eb76d09 (diff)
Fix some compiler warnings
Diffstat (limited to 'extra')
-rw-r--r--extra/locale/gen_wc8bit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/extra/locale/gen_wc8bit.c b/extra/locale/gen_wc8bit.c
index 7cefb53be..3cdcca801 100644
--- a/extra/locale/gen_wc8bit.c
+++ b/extra/locale/gen_wc8bit.c
@@ -464,7 +464,7 @@ int main(int argc, char **argv)
#if 1
wrow[i & (C2WC_ROW_LEN-1)] = csd[numsets].c2w[i];
if ((i & (C2WC_ROW_LEN-1)) == (C2WC_ROW_LEN-1)) {
- p = (char *) c2wc_tbl;
+ p = (unsigned char *) c2wc_tbl;
for (j=0 ; j < n_c2wc_rows ; j++) {
if (!memcmp(p, (char *) wrow, 2*C2WC_ROW_LEN)) {
break;
@@ -615,7 +615,7 @@ int main(int argc, char **argv)
fprintf(out, "\nstatic const unsigned short __LOCALE_DATA_Cc2wc_data[%d] = {\n",
n_c2wc_rows * C2WC_ROW_LEN);
- p = (char *) c2wc_tbl;
+ p = (unsigned char *) c2wc_tbl;
for (j=0 ; j < n_c2wc_rows ; j++) {
fprintf(out, "\t");
for (i=0 ; i < C2WC_ROW_LEN ; i++) {