mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Fix warning about incompatible pointer
The set_halfduplex function takes a unsigned int, not a int. Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									f9cd09b000
								
							
						
					
					
						commit
						e0fe8762c2
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -350,7 +350,7 @@ static dc_status_t serial_ftdi_set_timeout (void **userdata, long timeout) | ||||||
| 	return DC_STATUS_SUCCESS; | 	return DC_STATUS_SUCCESS; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| static dc_status_t serial_ftdi_set_halfduplex (void **userdata, int value) | static dc_status_t serial_ftdi_set_halfduplex (void **userdata, unsigned int value) | ||||||
| { | { | ||||||
| 	ftdi_serial_t *device = (ftdi_serial_t*) *userdata; | 	ftdi_serial_t *device = (ftdi_serial_t*) *userdata; | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue