mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Make the buffers const char *
Addresses a warning, but also seems more correct. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									8fcc074b49
								
							
						
					
					
						commit
						71826cf776
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -137,7 +137,7 @@ static enum import_source { | |||
| 	UDDF, | ||||
| } import_source; | ||||
| 
 | ||||
| static void divedate(char *buffer, timestamp_t *when) | ||||
| static void divedate(const char *buffer, timestamp_t *when) | ||||
| { | ||||
| 	int d, m, y; | ||||
| 	int hh, mm, ss; | ||||
|  | @ -163,7 +163,7 @@ static void divedate(char *buffer, timestamp_t *when) | |||
| 	*when = utc_mktime(&cur_tm); | ||||
| } | ||||
| 
 | ||||
| static void divetime(char *buffer, timestamp_t *when) | ||||
| static void divetime(const char *buffer, timestamp_t *when) | ||||
| { | ||||
| 	int h, m, s = 0; | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue