diff --git a/src/Tk/tkImaging.c b/src/Tk/tkImaging.c index 161a835fb..fdb3a1e1d 100644 --- a/src/Tk/tkImaging.c +++ b/src/Tk/tkImaging.c @@ -63,7 +63,7 @@ ImagingFind(const char* name) Py_ssize_t id; /* FIXME: use CObject instead? */ -#if defined(_MSC_VER) && defined(_WIN64) +#if defined(_WIN64) id = _atoi64(name); #else id = atol(name);