mirror of
https://github.com/rkd77/elinks.git
synced 2025-01-03 14:57:44 -05:00
[intl] Warning when compiled without nls
This commit is contained in:
parent
73c632f00c
commit
8f73247158
@ -38,9 +38,9 @@ extern "C" {
|
||||
/* In order to make it able to compile using -Werror this has to be a function
|
||||
* so that local @term variables will not be reported as unused. */
|
||||
static inline char *
|
||||
_(char *msg, struct terminal *term)
|
||||
_(const char *msg, struct terminal *term)
|
||||
{
|
||||
return gettext_noop(msg);
|
||||
return (char *)gettext_noop(msg);
|
||||
}
|
||||
|
||||
static inline char *
|
||||
|
Loading…
Reference in New Issue
Block a user