commit | 582acece2e0db447904b3f8f8f1d2acf36834158 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Wed Jun 28 22:07:35 2000 +0000 |
committer | Guido van Rossum <guido@python.org> | Wed Jun 28 22:07:35 2000 +0000 |
tree | 80805422d52a32da77e5e93425c34ec48d76a9c6 | |
parent | 6f2a5efec98c831bd529dfb341c2f83ff0914418 [diff] [blame] |
Trent Mick's Win64 changes: size_t vs. int or long; also some overflow tests.
diff --git a/Python/ceval.c b/Python/ceval.c index 78196ba..e153432 100644 --- a/Python/ceval.c +++ b/Python/ceval.c
@@ -2876,7 +2876,7 @@ } else { char *s = PyString_AsString(prog); - if ((int)strlen(s) != PyString_Size(prog)) { + if (strlen(s) != (size_t)PyString_Size(prog)) { PyErr_SetString(PyExc_ValueError, "embedded '\\0' in exec string"); return -1;