diff --git a/src/intl/gettext/libintl.h b/src/intl/gettext/libintl.h
index b89bbbeea..54a90922f 100644
--- a/src/intl/gettext/libintl.h
+++ b/src/intl/gettext/libintl.h
@@ -47,7 +47,7 @@ _(const char *msg, struct terminal *term)
 static inline char *
 n_(const char *msg1, const char *msg2, unsigned long int n, struct terminal *term)
 {
-	return gettext_noop(msg1);
+	return (char *)gettext_noop(msg1);
 }
 
 static inline void