mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 21:00:40 +02:00
fe-text: remove const for better Darwin support
This commit removes the `const` qualifier from certain member fields, as the Darwin version of several `<term.h>` related functions only accept a `char *` rather than a `const char *`, thereby resulting in dozens of compiler warnings.
This commit is contained in:
parent
a5441f62b9
commit
32adf7c1dd
2 changed files with 20 additions and 20 deletions
|
|
@ -38,8 +38,8 @@ int tigetflag();
|
|||
#define CAP_TYPE_STR 2
|
||||
|
||||
typedef struct {
|
||||
const char *ti_name; /* terminfo name */
|
||||
const char *tc_name; /* termcap name */
|
||||
char *ti_name; /* terminfo name */
|
||||
char *tc_name; /* termcap name */
|
||||
int type;
|
||||
unsigned int offset;
|
||||
} TERMINFO_REC;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue