Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matt-wu/Ext3Fsd.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Wu <matt@ext2fsd.com>2016-04-06 16:54:45 +0300
committerMatt Wu <matt@ext2fsd.com>2016-04-06 16:54:45 +0300
commit24f248fb3ea92b07002eac42f27cbfea08f6ab2c (patch)
tree9640580a786af64d027cb02334fee6e3075b45cb /Ext2Mgr/ServiceManage.cpp
parent9bc0e9fe7ef7bc78160cc43961fa62e6584cad2c (diff)
Ext2Mgr project files updated for VS2008 and WDK
Diffstat (limited to 'Ext2Mgr/ServiceManage.cpp')
-rw-r--r--Ext2Mgr/ServiceManage.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/Ext2Mgr/ServiceManage.cpp b/Ext2Mgr/ServiceManage.cpp
index b012c98..94e14bc 100644
--- a/Ext2Mgr/ServiceManage.cpp
+++ b/Ext2Mgr/ServiceManage.cpp
@@ -98,7 +98,7 @@ void CServiceManage::OnCancel()
void CServiceManage::OnOK()
{
- BOOLEAN rc;
+ BOOL rc;
// TODO: Add extra validation here
UpdateData(TRUE);
@@ -136,12 +136,12 @@ void CServiceManage::OnOK()
rc = Ext2SetGlobalProperty(
m_nStartmode,
- m_bReadonly,
- m_bExt3Writable,
+ (BOOLEAN)m_bReadonly,
+ (BOOLEAN)m_bExt3Writable,
m_Codepage.GetBuffer(CODEPAGE_MAXLEN),
m_sPrefix.GetBuffer(HIDINGPAT_LEN),
m_sSuffix.GetBuffer(HIDINGPAT_LEN),
- m_bAutoMount
+ (BOOLEAN)m_bAutoMount
);
if (rc) {
@@ -179,7 +179,7 @@ BOOL CServiceManage::OnInitDialog()
cbCodepage->AddString(gCodepages[i]);
if (!m_Codepage.IsEmpty()) {
CHAR *buffer = m_Codepage.GetBuffer(CODEPAGE_MAXLEN);
- if (stricmp(buffer, gCodepages[i]) == 0) {
+ if (_stricmp(buffer, gCodepages[i]) == 0) {
j = i;
}
}