summaryrefslogtreecommitdiffstats
path: root/Modules/cjkcodecs
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2007-12-14 03:02:34 (GMT)
committerChristian Heimes <christian@cheimes.de>2007-12-14 03:02:34 (GMT)
commit2518b25578b5aa8ffdef1666cd0d3c0786f83fb2 (patch)
treefd2a5992c02b519b3d73a0d9d15d70e3917c1b2c /Modules/cjkcodecs
parent42da874cddc20f8d0e663163defe492570a88e2c (diff)
downloadcpython-2518b25578b5aa8ffdef1666cd0d3c0786f83fb2.zip
cpython-2518b25578b5aa8ffdef1666cd0d3c0786f83fb2.tar.gz
cpython-2518b25578b5aa8ffdef1666cd0d3c0786f83fb2.tar.bz2
Fixed a warning in _codecs_iso2022.c and some non C89 conform // comments.
Diffstat (limited to 'Modules/cjkcodecs')
-rw-r--r--Modules/cjkcodecs/_codecs_iso2022.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/cjkcodecs/_codecs_iso2022.c b/Modules/cjkcodecs/_codecs_iso2022.c
index 55196a9..9ce7b75 100644
--- a/Modules/cjkcodecs/_codecs_iso2022.c
+++ b/Modules/cjkcodecs/_codecs_iso2022.c
@@ -203,7 +203,7 @@ ENCODER(iso2022)
} else
encoded = dsg->encoder(&c, &length);
#else
- encoded = dsg->encoder(*inbuf, &length);
+ encoded = dsg->encoder(&c, &length);
#endif
if (encoded != MAP_UNMAPPABLE) {
insize = length;