summaryrefslogtreecommitdiffstats
path: root/Modules/cjkcodecs/_iso2022_jp_3.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/cjkcodecs/_iso2022_jp_3.c')
-rw-r--r--Modules/cjkcodecs/_iso2022_jp_3.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/Modules/cjkcodecs/_iso2022_jp_3.c b/Modules/cjkcodecs/_iso2022_jp_3.c
index 00a90fd..5d3242d 100644
--- a/Modules/cjkcodecs/_iso2022_jp_3.c
+++ b/Modules/cjkcodecs/_iso2022_jp_3.c
@@ -80,18 +80,18 @@ ENCODER(iso2022_jp_3)
if (code == MULTIC) {
if (inleft < 2) {
if (flags & MBENC_FLUSH) {
- code = find_pairencmap(c, 0, jisx0213_pairencmap,
- JISX0213_ENCPAIRS);
+ code = find_pairencmap((ucs2_t)c, 0,
+ jisx0213_pairencmap, JISX0213_ENCPAIRS);
if (code == DBCINV)
return 1;
} else
return MBERR_TOOFEW;
} else {
- code = find_pairencmap(c, IN2,
+ code = find_pairencmap((ucs2_t)c, IN2,
jisx0213_pairencmap, JISX0213_ENCPAIRS);
if (code == DBCINV) {
- code = find_pairencmap(c, 0, jisx0213_pairencmap,
- JISX0213_ENCPAIRS);
+ code = find_pairencmap((ucs2_t)c, 0,
+ jisx0213_pairencmap, JISX0213_ENCPAIRS);
if (code == DBCINV)
return 1;
} else