From 362fe04b0f6b7282a5ffb6b857499ad2848920d1 Mon Sep 17 00:00:00 2001 From: Maarten Bent Date: Tue, 7 Apr 2020 19:24:51 +0200 Subject: [PATCH] Fix previous local declaration warning in wxRegKey sample --- samples/regtest/regtest.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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;