diff options
Diffstat (limited to 'src/libhtml')
-rw-r--r-- | src/libhtml/runetab.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libhtml/runetab.c b/src/libhtml/runetab.c index abd0a50f..5fe0158e 100644 --- a/src/libhtml/runetab.c +++ b/src/libhtml/runetab.c @@ -57,7 +57,7 @@ cvtstringtab(char **tab, int n) rtab = emalloc(n*sizeof(rtab[0])); for(i=0; i<n; i++) - rtab[i] = toStr(tab[i], strlen(tab[i]), US_Ascii); + rtab[i] = toStr((uchar*)tab[i], strlen(tab[i]), US_Ascii); return rtab; } @@ -69,7 +69,7 @@ cvtstringinttab(AsciiInt *tab, int n) stab = emalloc(n*sizeof(stab[0])); for(i=0; i<n; i++){ - stab[i].key = toStr(tab[i].key, strlen(tab[i].key), US_Ascii); + stab[i].key = toStr((uchar*)tab[i].key, strlen(tab[i].key), US_Ascii); stab[i].val = tab[i].val; } return stab; |