summaryrefslogtreecommitdiff
path: root/desktop/inc/strings.hrc
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/inc/strings.hrc')
-rw-r--r--desktop/inc/strings.hrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/inc/strings.hrc b/desktop/inc/strings.hrc
index 912f76626b0e..6d70648d069a 100644
--- a/desktop/inc/strings.hrc
+++ b/desktop/inc/strings.hrc
@@ -20,7 +20,7 @@
#ifndef INCLUDED_VCL_INC_STRINGS_HRC
#define INCLUDED_VCL_INC_STRINGS_HRC
-#define NC_(Context, String) (Context "\004" u8##String)
+#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
#define RID_STR_COPYING_PACKAGE NC_("RID_STR_COPYING_PACKAGE", "Copying: ")
#define RID_STR_ERROR_WHILE_ADDING NC_("RID_STR_ERROR_WHILE_ADDING", "Error while adding: ")