From: Armin Rigo Date: Mon, 29 May 2006 17:59:47 +0000 (+0000) Subject: Silence a warning. X-Git-Tag: v2.5b1~360 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=162997efb10131868b3dd7bec63f1c89b12ec3a5;p=thirdparty%2FPython%2Fcpython.git Silence a warning. --- diff --git a/Modules/_struct.c b/Modules/_struct.c index f360dad21e41..be641214ce68 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;