mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Time is unsigned here
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									0813d2168a
								
							
						
					
					
						commit
						a8194fddc5
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -391,7 +391,7 @@ void populate_pressure_information(struct dive *dive, struct divecomputer *dc, s | ||||||
| 	for (int i = first; i <= last; i++) { | 	for (int i = first; i <= last; i++) { | ||||||
| 		struct plot_data *entry = pi->entry + i; | 		struct plot_data *entry = pi->entry + i; | ||||||
| 		unsigned pressure = SENSOR_PRESSURE(entry, sensor); | 		unsigned pressure = SENSOR_PRESSURE(entry, sensor); | ||||||
| 		int time = entry->sec; | 		unsigned int time = entry->sec; | ||||||
| 
 | 
 | ||||||
| 		while (ev && ev->time.seconds <= time) { | 		while (ev && ev->time.seconds <= time) { | ||||||
| 			cyl = get_cylinder_index(dive, ev); | 			cyl = get_cylinder_index(dive, ev); | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue