summaryrefslogtreecommitdiff
path: root/Plugins/utils/mir_buffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'Plugins/utils/mir_buffer.h')
-rw-r--r--Plugins/utils/mir_buffer.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Plugins/utils/mir_buffer.h b/Plugins/utils/mir_buffer.h
index 3268f45..c64538b 100644
--- a/Plugins/utils/mir_buffer.h
+++ b/Plugins/utils/mir_buffer.h
@@ -24,7 +24,7 @@ Boston, MA 02111-1307, USA.
#include <windows.h>
#include "mir_memory.h"
-#include <m_variables.h>
+#include "m_variables.h"
template<class T>
@@ -102,13 +102,13 @@ static void __bcopy(WCHAR *dest, const WCHAR *orig, size_t len)
template<>
static void __bcopy(WCHAR *dest, const char *orig, size_t len)
{
- MultiByteToWideChar(CallService("LangPack/GetCodePage", 0, 0), 0, orig, len, dest, len);
+ MultiByteToWideChar(CallService("LangPack/GetCodePage", 0, 0), 0, orig, (int)len, dest, (int)len);
}
template<>
static void __bcopy(char *dest, const WCHAR *orig, size_t len)
{
- WideCharToMultiByte(CallService("LangPack/GetCodePage", 0, 0), 0, orig, len, dest, len, NULL, NULL);
+ WideCharToMultiByte(CallService("LangPack/GetCodePage", 0, 0), 0, orig, (int)len, dest, (int)len, NULL, NULL);
}