diff options
-rw-r--r-- | extra/locale/gen_wc8bit.c | 4 | ||||
-rw-r--r-- | test/test-skeleton.c | 2 |
2 files changed, 3 insertions, 3 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++) { diff --git a/test/test-skeleton.c b/test/test-skeleton.c index 22fdd8f98..adfc8b75b 100644 --- a/test/test-skeleton.c +++ b/test/test-skeleton.c @@ -135,7 +135,7 @@ static void __attribute__ ((noreturn)) timeout_handler (int sig __attribute__ ((unused))) { - int killed; + int killed = 0; int status; /* Send signal. */ |