mirror of
https://github.com/tmux/tmux.git
synced 2025-01-05 23:38:48 +00:00
ARM's Morello CHERI architecture does not support pointers in packed
structures, so remove the packed attribute on struct grid_line and reorder the members to eliminate unnecessary padding. From Jessica Clarke in GitHub issue 3012.
This commit is contained in:
parent
e4856de8bf
commit
ff64aafeab
6
tmux.h
6
tmux.h
@ -668,15 +668,15 @@ struct grid_cell_entry {
|
||||
|
||||
/* Grid line. */
|
||||
struct grid_line {
|
||||
struct grid_cell_entry *celldata;
|
||||
u_int cellused;
|
||||
u_int cellsize;
|
||||
struct grid_cell_entry *celldata;
|
||||
|
||||
u_int extdsize;
|
||||
struct grid_extd_entry *extddata;
|
||||
u_int extdsize;
|
||||
|
||||
int flags;
|
||||
} __packed;
|
||||
};
|
||||
|
||||
/* Entire grid of cells. */
|
||||
struct grid {
|
||||
|
Loading…
Reference in New Issue
Block a user