commit | 18e165558b24d29e7e0ca501842b9236589b012a | [log] [tgz] |
---|---|---|
author | Martin v. Löwis <martin@v.loewis.de> | Wed Feb 15 17:27:45 2006 +0000 |
committer | Martin v. Löwis <martin@v.loewis.de> | Wed Feb 15 17:27:45 2006 +0000 |
tree | 841678b5dc1aff3aa48701fee33a6ba7be00a72b | |
parent | 44829297348d9121a03fc7df2fac557b583cc7fa [diff] [blame] |
Merge ssize_t branch.
diff --git a/Modules/cjkcodecs/multibytecodec.c b/Modules/cjkcodecs/multibytecodec.c index b0dae0c..c13de8f 100644 --- a/Modules/cjkcodecs/multibytecodec.c +++ b/Modules/cjkcodecs/multibytecodec.c
@@ -214,7 +214,7 @@ if (buf->excobj == NULL) { buf->excobj = PyUnicodeEncodeError_Create(codec->encoding, buf->inbuf_top, - (int)(buf->inbuf_end - buf->inbuf_top), + buf->inbuf_end - buf->inbuf_top, start, end, reason); if (buf->excobj == NULL) goto errorexit;