diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2003-02-02 17:08:33 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2003-02-02 17:08:33 (GMT) |
commit | 529baf2b576ab739f71dc3a51569d272de241fd9 (patch) | |
tree | 80e2d523710c88363bc4b0d6b3f90465166d8fcc /Modules/cPickle.c | |
parent | 87482ea055c921ffacd704ed41fa41ef6473ad3a (diff) | |
download | cpython-529baf2b576ab739f71dc3a51569d272de241fd9.zip cpython-529baf2b576ab739f71dc3a51569d272de241fd9.tar.gz cpython-529baf2b576ab739f71dc3a51569d272de241fd9.tar.bz2 |
Fix compiler warning
Diffstat (limited to 'Modules/cPickle.c')
-rw-r--r-- | Modules/cPickle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/cPickle.c b/Modules/cPickle.c index 31a59f2..00e6829 100644 --- a/Modules/cPickle.c +++ b/Modules/cPickle.c @@ -2916,7 +2916,7 @@ load_counted_long(Unpicklerobject *self, int size) along = PyLong_FromLong(0L); else { /* Read the raw little-endian bytes & convert. */ - i = self->read_func(self, &(char *)pdata, size); + i = self->read_func(self, (char **)&pdata, size); if (i < 0) return -1; along = _PyLong_FromByteArray(pdata, (size_t)size, 1 /* little endian */, 1 /* signed */); |