aboutsummaryrefslogtreecommitdiff
path: root/dep/CascLib/src/common/Path.h
diff options
context:
space:
mode:
Diffstat (limited to 'dep/CascLib/src/common/Path.h')
-rw-r--r--dep/CascLib/src/common/Path.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/dep/CascLib/src/common/Path.h b/dep/CascLib/src/common/Path.h
index b77dde0cc3d..98ba601d33b 100644
--- a/dep/CascLib/src/common/Path.h
+++ b/dep/CascLib/src/common/Path.h
@@ -17,11 +17,11 @@
template <typename xchar>
struct CASC_PATH
{
- CASC_PATH(xchar chSeparator = PATH_SEP_CHAR)
+ CASC_PATH(int chSeparator = PATH_SEP_CHAR)
{
m_szBufferBegin = m_szBufferPtr = m_Buffer;
m_szBufferEnd = m_szBufferBegin + _countof(m_Buffer);
- m_chSeparator = chSeparator;
+ m_chSeparator = (xchar)chSeparator;
m_Buffer[0] = 0;
}