mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-20 14:51:15 +00:00
use DWORD to match RegQueryValueExA arg
This commit is contained in:
parent
dfe0240706
commit
42e3e48ee7
@ -571,7 +571,7 @@ BOOL IsleApp::ReadReg(LPCSTR name, LPSTR outValue, DWORD outSize)
|
||||
DWORD valueType;
|
||||
|
||||
BOOL out = FALSE;
|
||||
MxULong size = outSize;
|
||||
DWORD size = outSize;
|
||||
if (RegOpenKeyExA(HKEY_LOCAL_MACHINE, "SOFTWARE\\Mindscape\\LEGO Island", 0, KEY_READ, &hKey) == ERROR_SUCCESS) {
|
||||
if (RegQueryValueExA(hKey, name, NULL, &valueType, (LPBYTE) outValue, &size) == ERROR_SUCCESS) {
|
||||
if (RegCloseKey(hKey) == ERROR_SUCCESS) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user