]> granicus.if.org Git - python/commitdiff
Silence a warning.
authorArmin Rigo <arigo@tunes.org>
Mon, 29 May 2006 17:59:47 +0000 (17:59 +0000)
committerArmin Rigo <arigo@tunes.org>
Mon, 29 May 2006 17:59:47 +0000 (17:59 +0000)
Modules/_struct.c

index f360dad21e41a693f42622eaffd66640765301fa..be641214ce68028f8a739d938c5de90330c242ee 100644 (file)
@@ -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;