diff --git a/samples/regtest/regtest.cpp b/samples/regtest/regtest.cpp index 2004e34ce9..2a91c2583b 100644 --- a/samples/regtest/regtest.cpp +++ b/samples/regtest/regtest.cpp @@ -1070,9 +1070,9 @@ bool RegTreeCtrl::TreeNode::OnExpand() case wxRegKey::Type_Dword: { - long l; - m_pKey->QueryValue(str, &l); - strItem << l; + long ldw; + m_pKey->QueryValue(str, &ldw); + strItem << ldw; } wxFALLTHROUGH;