summaryrefslogtreecommitdiffstats
path: root/PC/getpathp.c
diff options
context:
space:
mode:
Diffstat (limited to 'PC/getpathp.c')
-rw-r--r--PC/getpathp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/PC/getpathp.c b/PC/getpathp.c
index 0701d73..37a9c0b 100644
--- a/PC/getpathp.c
+++ b/PC/getpathp.c
@@ -306,8 +306,8 @@ getpythonregpath(HKEY keyBase, int skipcore)
Py_ssize_t len = _tcslen(ppPaths[index]);
_tcsncpy(szCur, ppPaths[index], len);
szCur += len;
- assert(dataSize > len);
- dataSize -= (int)len;
+ assert(dataSize > (DWORD)len);
+ dataSize -= (DWORD)len;
}
}
if (skipcore)