1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-10 09:58:01 +00:00

Use DWORD as length argument for RegQueryValueEx.

This commit is contained in:
Tim Kosse 2015-08-11 14:34:11 +02:00 committed by Simon Tatham
parent 44c107d56a
commit 636f9cf2ee

View File

@ -657,7 +657,7 @@ static int transform_jumplist_registry
int ret; int ret;
HKEY pjumplist_key, psettings_tmp; HKEY pjumplist_key, psettings_tmp;
DWORD type; DWORD type;
int value_length; DWORD value_length;
char *old_value, *new_value; char *old_value, *new_value;
char *piterator_old, *piterator_new, *piterator_tmp; char *piterator_old, *piterator_new, *piterator_tmp;