]> granicus.if.org Git - python/commitdiff
Fixed a warning in _codecs_iso2022.c and some non C89 conform // comments.
authorChristian Heimes <christian@cheimes.de>
Fri, 14 Dec 2007 03:02:34 +0000 (03:02 +0000)
committerChristian Heimes <christian@cheimes.de>
Fri, 14 Dec 2007 03:02:34 +0000 (03:02 +0000)
Modules/_ctypes/libffi/src/x86/ffi.c
Modules/bsddb.h
Modules/cjkcodecs/_codecs_iso2022.c

index cc63b6bd2aedda1c7b28a061572d7b53985418ca..4d920298cd82f76dae467241734c6c621213fe25 100644 (file)
@@ -256,7 +256,7 @@ ffi_closure_SYSV_inner (closure, respp, args)
      void **respp;
      void *args;
 {
-  // our various things...
+  /* our various things... */
   ffi_cif       *cif;
   void         **arg_area;
 
index 490da5943b8a29a1da0ca6315a2df901259ba584..a209553d88f8a570a7896c753969f0d0df9c65bf 100644 (file)
@@ -232,7 +232,7 @@ typedef struct {
 #define DBSequenceObject_Check(v)  ((v)->ob_type == bsddb_api->dbsequence_type)
 #endif
 
-#endif // COMPILING_BSDDB_C
+#endif /* COMPILING_BSDDB_C */
 
 
-#endif // _BSDDB_H_
+#endif /* _BSDDB_H_ */
index 55196a9ea4cdf449158a686f3db5cb3c5ea5451a..9ce7b75bcd10a6936c77b1942d265c94e6e5064a 100644 (file)
@@ -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;