OSDN Git Service

Fix compiler warning
authorsdottaka <sdottaka@users.sourceforge.net>
Sun, 24 May 2015 08:33:16 +0000 (17:33 +0900)
committersdottaka <sdottaka@users.sourceforge.net>
Sun, 24 May 2015 08:33:16 +0000 (17:33 +0900)
--HG--
branch : stable

Src/PropCodepage.cpp

index 1759c54..3cf6ee6 100644 (file)
@@ -178,7 +178,7 @@ void PropCodepage::OnDetectCodepage2()
 
 void PropCodepage::OnDetectAutodetecttype()
 {
-       m_nAutodetectType = m_comboAutodetectType.GetItemData(m_comboAutodetectType.GetCurSel());       
+       m_nAutodetectType = static_cast<int>(m_comboAutodetectType.GetItemData(m_comboAutodetectType.GetCurSel()));     
 }
 
 void PropCodepage::OnCpUi()