mirror of
https://github.com/python/cpython.git
synced 2025-07-23 03:05:38 +00:00
Fix [ 583477 ] wrong dest size.
Note this code is not used by the core on Win32, but in a block used only by Windows CE.
This commit is contained in:
parent
ba884f3d22
commit
61bb35f440
1 changed files with 1 additions and 1 deletions
|
@ -321,7 +321,7 @@ getpythonregpath(HKEY keyBase, int skipcore)
|
|||
if (retval)
|
||||
WideCharToMultiByte(CP_ACP, 0,
|
||||
dataBuf, -1, /* source */
|
||||
retval, dataSize+1, /* dest */
|
||||
retval, reqdSize+1, /* dest */
|
||||
NULL, NULL);
|
||||
free(dataBuf);
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue