eliminate GCC warning

svn path=/trunk/; revision=9709
This commit is contained in:
Martin Fuchs 2004-06-18 16:59:47 +00:00
parent 24fdd29e94
commit 751d25b2ea

View file

@ -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);
}
}