[Python-checkins] r46528 - python/trunk/Modules/_struct.c

armin.rigo python-checkins at python.org
Mon May 29 19:59:49 CEST 2006


Author: armin.rigo
Date: Mon May 29 19:59:47 2006
New Revision: 46528

Modified:
   python/trunk/Modules/_struct.c
Log:
Silence a warning.


Modified: python/trunk/Modules/_struct.c
==============================================================================
--- python/trunk/Modules/_struct.c	(original)
+++ python/trunk/Modules/_struct.c	Mon May 29 19:59:47 2006
@@ -223,7 +223,7 @@
 
 /* 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;


More information about the Python-checkins mailing list