diff options
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/_ctypes/libffi/src/x86/ffi.c | 2 | ||||
-rw-r--r-- | Modules/_ssl.c | 2 | ||||
-rw-r--r-- | Modules/bsddb.h | 4 | ||||
-rw-r--r-- | Modules/cjkcodecs/_codecs_iso2022.c | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/Modules/_ctypes/libffi/src/x86/ffi.c b/Modules/_ctypes/libffi/src/x86/ffi.c index cc63b6bd2a..4d920298cd 100644 --- a/Modules/_ctypes/libffi/src/x86/ffi.c +++ b/Modules/_ctypes/libffi/src/x86/ffi.c @@ -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; diff --git a/Modules/_ssl.c b/Modules/_ssl.c index 7ab229716f..58b04a6a69 100644 --- a/Modules/_ssl.c +++ b/Modules/_ssl.c @@ -656,7 +656,7 @@ _get_peer_alt_names (X509 *certificate) { char buf[2048]; char *vptr; int len; - unsigned char *p; + const unsigned char *p; if (certificate == NULL) return peer_alt_names; diff --git a/Modules/bsddb.h b/Modules/bsddb.h index 36bed55944..65c2bea606 100644 --- a/Modules/bsddb.h +++ b/Modules/bsddb.h @@ -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_ */ diff --git a/Modules/cjkcodecs/_codecs_iso2022.c b/Modules/cjkcodecs/_codecs_iso2022.c index 55196a9ea4..9ce7b75bcd 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; |