summaryrefslogtreecommitdiff
path: root/enc/trans/japanese.trans
diff options
context:
space:
mode:
Diffstat (limited to 'enc/trans/japanese.trans')
-rw-r--r--enc/trans/japanese.trans4
1 files changed, 2 insertions, 2 deletions
diff --git a/enc/trans/japanese.trans b/enc/trans/japanese.trans
index 4af9b5387c..ce5d0bb70f 100644
--- a/enc/trans/japanese.trans
+++ b/enc/trans/japanese.trans
@@ -19,7 +19,7 @@
<%= transcode_generated_code %>
-static int
+static ssize_t
fun_so_eucjp2sjis(void *statep, const unsigned char *s, size_t l, unsigned char *o, size_t osize)
{
if (s[0] == 0x8e) {
@@ -40,7 +40,7 @@ fun_so_eucjp2sjis(void *statep, const unsigned char *s, size_t l, unsigned char
}
}
-static int
+static ssize_t
fun_so_sjis2eucjp(void *statep, const unsigned char *s, size_t l, unsigned char *o, size_t osize)
{
if (l == 1) {