diff options
Diffstat (limited to 'PC')
-rw-r--r-- | PC/winreg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/PC/winreg.c b/PC/winreg.c index d62a7be..fb488d8 100644 --- a/PC/winreg.c +++ b/PC/winreg.c @@ -680,7 +680,7 @@ _Py_COMP_DIAG_POP assert(size > 0); len = PyUnicode_AsWideChar(t, P, size); assert(len >= 0); - assert(len < size); + assert((unsigned)len < size); size -= (DWORD)len + 1; P += len + 1; } |