getpathp.c: fix compiler warning

wcsnlen_s() result type is size_t.
This commit is contained in:
Victor Stinner 2016-03-23 11:31:58 +01:00
parent 0aed3a4ebc
commit ccb1f8cb1a

View file

@ -135,7 +135,7 @@ exists(wchar_t *filename)
static int
ismodule(wchar_t *filename, int update_filename) /* Is module -- check for .pyc/.pyo too */
{
int n;
size_t n;
if (exists(filename))
return 1;