mirror of
https://github.com/reactos/reactos.git
synced 2024-12-30 19:14:31 +00:00
eliminate GCC warning
svn path=/trunk/; revision=9709
This commit is contained in:
parent
24fdd29e94
commit
751d25b2ea
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue