aboutsummaryrefslogtreecommitdiff
path: root/src/libhtml
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2004-04-20 02:03:38 +0000
committerrsc <devnull@localhost>2004-04-20 02:03:38 +0000
commita0f1e21ff939612898d63ae2245e47dffc1a8153 (patch)
tree581f62db3bad2c54d60cb54b6e577787f55071af /src/libhtml
parente637c944febf271252e59742aa108d6e0a527eb7 (diff)
downloadplan9port-a0f1e21ff939612898d63ae2245e47dffc1a8153.tar.gz
plan9port-a0f1e21ff939612898d63ae2245e47dffc1a8153.tar.bz2
plan9port-a0f1e21ff939612898d63ae2245e47dffc1a8153.zip
make things work on SunOS
Diffstat (limited to 'src/libhtml')
-rw-r--r--src/libhtml/runetab.c4
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;