summaryrefslogtreecommitdiff
path: root/Python/dynload_win.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-06-28 22:07:35 +0000
committerGuido van Rossum <guido@python.org>2000-06-28 22:07:35 +0000
commita53d534fb8dfc476652e45c58b795bf021ea586a (patch)
tree6b29848cddf7fe5e95c712b62b5fd71706cf9225 /Python/dynload_win.c
parentc457c777956d0ff9d689841cbddb8e7770605d42 (diff)
downloadcpython-a53d534fb8dfc476652e45c58b795bf021ea586a.tar.gz
Trent Mick's Win64 changes: size_t vs. int or long; also some overflow
tests.
Diffstat (limited to 'Python/dynload_win.c')
-rw-r--r--Python/dynload_win.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/dynload_win.c b/Python/dynload_win.c
index 08a2a895fe..7506c41f6c 100644
--- a/Python/dynload_win.c
+++ b/Python/dynload_win.c
@@ -104,7 +104,7 @@ dl_funcptr _PyImport_GetDynLoadFunc(const char *fqname, const char *shortname,
"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 &&