diff options
Diffstat (limited to 'uui')
-rw-r--r-- | uui/inc/ids.hrc | 2 | ||||
-rw-r--r-- | uui/inc/strings.hrc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/uui/inc/ids.hrc b/uui/inc/ids.hrc index 84d409f083ef..061c2a77bd80 100644 --- a/uui/inc/ids.hrc +++ b/uui/inc/ids.hrc @@ -20,7 +20,7 @@ #ifndef INCLUDED_UUI_INC_IDS_HRC #define INCLUDED_UUI_INC_IDS_HRC -#define NC_(Context, String) (Context "\004" u8##String) +#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String) const std::pair<const char*, ErrCode> RID_UUI_ERRHDL[] = { diff --git a/uui/inc/strings.hrc b/uui/inc/strings.hrc index 22deb50f2837..7c327b579738 100644 --- a/uui/inc/strings.hrc +++ b/uui/inc/strings.hrc @@ -20,7 +20,7 @@ #ifndef INCLUDED_UUI_INC_STRINGS_HRC #define INCLUDED_UUI_INC_STRINGS_HRC -#define NC_(Context, String) (Context "\004" u8##String) +#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String) #define STR_ENTER_PASSWORD_TO_OPEN NC_("STR_ENTER_PASSWORD_TO_OPEN", "Enter password to open file: \n") #define STR_ENTER_PASSWORD_TO_MODIFY NC_("STR_ENTER_PASSWORD_TO_MODIFY", "Enter password to modify file: \n") |