mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	Client flags was changed to uint64_t a while ago, fix a few cases where
it is still int (do not matter now but will with some new flags). From Michael Grant.
This commit is contained in:
		
							
								
								
									
										5
									
								
								client.c
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								client.c
									
									
									
									
									
								
							@@ -445,11 +445,12 @@ client_send_identify(const char *ttynam, const char *termname, char **caps,
 | 
			
		||||
{
 | 
			
		||||
	char	**ss;
 | 
			
		||||
	size_t	  sslen;
 | 
			
		||||
	int	  fd, flags = client_flags;
 | 
			
		||||
	int	  fd;
 | 
			
		||||
	uint64_t  flags = client_flags;
 | 
			
		||||
	pid_t	  pid;
 | 
			
		||||
	u_int	  i;
 | 
			
		||||
 | 
			
		||||
	proc_send(client_peer, MSG_IDENTIFY_FLAGS, -1, &flags, sizeof flags);
 | 
			
		||||
	proc_send(client_peer, MSG_IDENTIFY_LONGFLAGS, -1, &flags, sizeof flags);
 | 
			
		||||
	proc_send(client_peer, MSG_IDENTIFY_LONGFLAGS, -1, &client_flags,
 | 
			
		||||
	    sizeof client_flags);
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user