1
0
mirror of https://github.com/rkd77/elinks.git synced 2025-02-02 15:09:23 -05:00

[gettext] N_ cast to (char *)

Very stupid.
This commit is contained in:
Witold Filipczyk 2022-01-17 19:20:58 +01:00
parent 33324e8582
commit aaf942d37d
2 changed files with 3 additions and 2 deletions

View File

@ -22,7 +22,8 @@ extern "C" {
#endif
/* no-op - just for marking */
#define N_(msg) (gettext_noop(msg))
#define N_(msg) (char *)(gettext_noop(msg))
#define gettext_noop(Str) (Str)
#ifndef CONFIG_SMALL
#define N__(msg) (gettext_noop(msg))

View File

@ -20,7 +20,7 @@ extern int _nl_msg_cat_cntr;
extern int current_charset;
/* no-op - just for marking */
#define N_(msg) (gettext_noop(msg))
#define N_(msg) (char *)(gettext_noop(msg))
#define gettext_noop(Str) (Str)
#ifndef CONFIG_SMALL