mirror of
				https://github.com/tmux/tmux.git
				synced 2025-10-26 12:27:15 +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:
		
							
								
								
									
										6
									
								
								tmux.h
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								tmux.h
									
									
									
									
									
								
							| @@ -668,15 +668,15 @@ struct grid_cell_entry { | |||||||
|  |  | ||||||
| /* Grid line. */ | /* Grid line. */ | ||||||
| struct grid_line { | struct grid_line { | ||||||
|  | 	struct grid_cell_entry	*celldata; | ||||||
| 	u_int			 cellused; | 	u_int			 cellused; | ||||||
| 	u_int			 cellsize; | 	u_int			 cellsize; | ||||||
| 	struct grid_cell_entry	*celldata; |  | ||||||
|  |  | ||||||
| 	u_int			 extdsize; |  | ||||||
| 	struct grid_extd_entry	*extddata; | 	struct grid_extd_entry	*extddata; | ||||||
|  | 	u_int			 extdsize; | ||||||
|  |  | ||||||
| 	int			 flags; | 	int			 flags; | ||||||
| } __packed; | }; | ||||||
|  |  | ||||||
| /* Entire grid of cells. */ | /* Entire grid of cells. */ | ||||||
| struct grid { | struct grid { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 nicm
					nicm