diff Python/dynload_win.c @ 13096:8c8de5b736dc legacy-trunk

Trent Mick's Win64 changes: size_t vs. int or long; also some overflow tests.
author Guido van Rossum <guido@python.org>
date Wed, 28 Jun 2000 22:07:35 +0000
parents 528559a0b2f2
children 916fb024ce94
line wrap: on
line diff
--- a/Python/dynload_win.c	Wed Jun 28 22:05:44 2000 +0000
+++ b/Python/dynload_win.c	Wed Jun 28 22:07:35 2000 +0000
@@ -104,7 +104,7 @@
 					"DLL load failed with error code %d",
 					errorCode);
 			} else {
-				int len;
+				size_t len;
 				/* For some reason a \r\n
 				   is appended to the text */
 				if (theLength >= 2 &&