From 751d25b2ea6ee08df31a166badb7349e387a2cd1 Mon Sep 17 00:00:00 2001 From: Martin Fuchs Date: Fri, 18 Jun 2004 16:59:47 +0000 Subject: [PATCH] eliminate GCC warning svn path=/trunk/; revision=9709 --- reactos/subsys/system/explorer/shell/regfs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/subsys/system/explorer/shell/regfs.cpp b/reactos/subsys/system/explorer/shell/regfs.cpp index a31a36007dd..e804dfdaaaa 100644 --- a/reactos/subsys/system/explorer/shell/regfs.cpp +++ b/reactos/subsys/system/explorer/shell/regfs.cpp @@ -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); } }