summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorArmin Rigo <arigo@tunes.org>2006-05-29 17:59:47 (GMT)
committerArmin Rigo <arigo@tunes.org>2006-05-29 17:59:47 (GMT)
commit162997efb10131868b3dd7bec63f1c89b12ec3a5 (patch)
treef3d363a9d402d7347a8ae18b5c3384dbe43936b9 /Modules
parent28b26862604f3d714ee3d51d2b7c400396070608 (diff)
downloadcpython-162997efb10131868b3dd7bec63f1c89b12ec3a5.zip
cpython-162997efb10131868b3dd7bec63f1c89b12ec3a5.tar.gz
cpython-162997efb10131868b3dd7bec63f1c89b12ec3a5.tar.bz2
Silence a warning.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_struct.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_struct.c b/Modules/_struct.c
index f360dad..be641214 100644
--- a/Modules/_struct.c
+++ b/Modules/_struct.c
@@ -223,7 +223,7 @@ unpack_double(const char *p, /* start of 8-byte string */
/* Helper to format the range error exceptions */
static int
-_range_error(formatdef *f, int is_unsigned)
+_range_error(const formatdef *f, int is_unsigned)
{
if (is_unsigned == 0) {
long smallest = 0, largest = 0;