summaryrefslogtreecommitdiff
path: root/plugins/MirandaG15/src/LCDFramework/misc.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MirandaG15/src/LCDFramework/misc.h')
-rw-r--r--plugins/MirandaG15/src/LCDFramework/misc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/MirandaG15/src/LCDFramework/misc.h b/plugins/MirandaG15/src/LCDFramework/misc.h
index 43e35327c5..0dd4494f0c 100644
--- a/plugins/MirandaG15/src/LCDFramework/misc.h
+++ b/plugins/MirandaG15/src/LCDFramework/misc.h
@@ -4,7 +4,7 @@ extern tstring toLower(const tstring &i_str);
extern std::wstring toWideString( const char* pStr , int len=-1 ) ;
inline std::wstring toWideString( const std::string& str )
{
- return toWideString(str.c_str(),str.length()) ;
+ return toWideString(str.c_str(), (int)str.length()) ;
}
inline std::wstring toWideString( const wchar_t* pStr , int len=-1 )
{
@@ -17,7 +17,7 @@ inline std::wstring toWideString( const std::wstring& str )
extern std::string toNarrowString( const wchar_t* pStr , int len=-1 ) ;
inline std::string toNarrowString( const std::wstring& str )
{
- return toNarrowString(str.c_str(),str.length()) ;
+ return toNarrowString(str.c_str(), (int)str.length()) ;
}
inline std::string toNarrowString( const char* pStr , int len=-1 )
{