diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2011-06-06 10:46:18 -0400 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2011-06-06 10:46:18 -0400 |
commit | 928b460051be016d0035c90bb94f4168db68386b (patch) | |
tree | e3040eca769ed0e09c08bc543dc3ba10ce5cb3fc /WWW/Library/Implementation/SGML.c | |
parent | 080f88a781524b40f3e5de4b10c8f22b0e7b87e4 (diff) | |
download | lynx-snapshots-928b460051be016d0035c90bb94f4168db68386b.tar.gz |
snapshot of project "lynx", label v2-8-8dev_8k
Diffstat (limited to 'WWW/Library/Implementation/SGML.c')
-rw-r--r-- | WWW/Library/Implementation/SGML.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/WWW/Library/Implementation/SGML.c b/WWW/Library/Implementation/SGML.c index bd675aeb..defaf8bd 100644 --- a/WWW/Library/Implementation/SGML.c +++ b/WWW/Library/Implementation/SGML.c @@ -1,5 +1,5 @@ /* - * $LynxId: SGML.c,v 1.142 2010/12/10 01:46:10 tom Exp $ + * $LynxId: SGML.c,v 1.143 2011/06/06 09:10:38 tom Exp $ * * General SGML Parser code SGML.c * ======================== @@ -4634,7 +4634,7 @@ unsigned char *SJIS_TO_JIS1(unsigned HI, unsigned LO, unsigned char *JCODE) { - HI = UCH(HI - UCH((HI <= 0x9F) ? 0x71 : 0xB1)); + HI = UCH(HI - (unsigned) UCH((HI <= 0x9F) ? 0x71 : 0xB1)); HI = UCH((HI << 1) + 1); if (0x7F < LO) LO--; |