diff options
Diffstat (limited to 'src/Main/Resources.cpp')
-rw-r--r-- | src/Main/Resources.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Main/Resources.cpp b/src/Main/Resources.cpp index 8b0dcdfd..fa8d1518 100644 --- a/src/Main/Resources.cpp +++ b/src/Main/Resources.cpp @@ -49,13 +49,13 @@ namespace VeraCrypt strBuf.CopyFrom (res); return string (reinterpret_cast <char *> (strBuf.Ptr())); #else - static const char LanguageXml[] = + static byte LanguageXml[] = { # include "Common/Language.xml.h" , 0 }; - return string (LanguageXml); + return string ((const char*) LanguageXml); #endif } @@ -68,13 +68,13 @@ namespace VeraCrypt strBuf.CopyFrom (res); return string (reinterpret_cast <char *> (strBuf.Ptr())); #else - static const char License[] = + static byte License[] = { # include "License.txt.h" , 0 }; - return string (License); + return string ((const char*) License); #endif } |