mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-01 19:26:16 +00:00
eliminate GCC warning
svn path=/trunk/; revision=9709
This commit is contained in:
@@ -152,7 +152,7 @@ void RegDirectory::read_directory(int scan_flags)
|
||||
entry->_content = _tcsdup(value);
|
||||
else if (type == REG_DWORD) {
|
||||
TCHAR b[32];
|
||||
_stprintf(b, TEXT("%d"), *(DWORD*)&value);
|
||||
_stprintf(b, TEXT("%ld"), *(DWORD*)&value);
|
||||
entry->_content = _tcsdup(b);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user