diff options
| author | Charles Forsyth <charles.forsyth@gmail.com> | 2013-06-03 21:47:15 +0000 |
|---|---|---|
| committer | Charles Forsyth <charles.forsyth@gmail.com> | 2013-06-03 21:47:15 +0000 |
| commit | efa0ffaae9fdd09c65831ebfe46695dfa48cc958 (patch) | |
| tree | 67bb51afde4ad0b8c101baee4dd4b9b8b79af7c1 /os/port/latin1.c | |
| parent | 3c170abf01095f92152437053a24df246c1789a7 (diff) | |
tune Rune to compiler's mode in latin1 tab
Diffstat (limited to 'os/port/latin1.c')
| -rw-r--r-- | os/port/latin1.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/os/port/latin1.c b/os/port/latin1.c index 8dcb0d7e..fbc235df 100644 --- a/os/port/latin1.c +++ b/os/port/latin1.c @@ -8,7 +8,7 @@ struct cvlist { char *ld; /* must be seen before using this conversion */ char *si; /* options for last input characters */ - Rune *so; /* the corresponding Rune for each si entry */ + void *so; /* the corresponding Rune for each si entry */ } latintab[] = { #include "../port/latin1.h" 0, 0, 0 @@ -69,7 +69,7 @@ latin1(Rune *k, int n) c = k[2]; for(p=l->si; *p!=0; p++) if(*p == c) - return l->so[p - l->si]; + return ((Rune*)l->so)[p - l->si]; return -1; } return -1; |
