diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-09-14 18:35:17 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-09-14 18:35:17 +0000 |
commit | c767be3039c9d511cc01541a7560896404e2ab80 (patch) | |
tree | 376bb5e7a4966dd710851ea524de5d9883bf2c2b /enc/trans/escape.trans | |
parent | a3c8c0adec2ccf37ffe88fa542cd9db650aa31bf (diff) | |
download | ruby-c767be3039c9d511cc01541a7560896404e2ab80.tar.gz |
* transcode_data.h: return output functions ssize_t.
* transcode.c (transcode_restartable0): don't need to cast the result
of output functions.
* enc/trans/newline.trans: follow the type change.
* enc/trans/escape.trans: ditto.
* enc/trans/utf_16_32.trans: ditto.
* enc/trans/iso2022.trans: ditto.
* enc/trans/japanese.trans: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'enc/trans/escape.trans')
-rw-r--r-- | enc/trans/escape.trans | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/enc/trans/escape.trans b/enc/trans/escape.trans index d390942c51..f45f27bc41 100644 --- a/enc/trans/escape.trans +++ b/enc/trans/escape.trans @@ -43,7 +43,7 @@ escape_xml_attr_quote_init(void *statep) return 0; } -static int +static ssize_t fun_so_escape_xml_attr_quote(void *statep, const unsigned char *s, size_t l, unsigned char *o, size_t osize) { unsigned char *sp = statep; @@ -56,7 +56,7 @@ fun_so_escape_xml_attr_quote(void *statep, const unsigned char *s, size_t l, uns return n; } -static int +static ssize_t escape_xml_attr_quote_finish(void *statep, unsigned char *o, size_t osize) { unsigned char *sp = statep; |