update-ref: fix type of update_flags variable to match its usage
The ref_transaction_*() family of functions expect a flags parameter which is of type unsigned int. Make the update_flags variable, which is passed as that parameter, be of the same type. Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>maint
							parent
							
								
									1d4361b0f3
								
							
						
					
					
						commit
						e4c34855a2
					
				|  | @ -14,7 +14,7 @@ static const char * const git_update_ref_usage[] = { | ||||||
| }; | }; | ||||||
|  |  | ||||||
| static char line_termination = '\n'; | static char line_termination = '\n'; | ||||||
| static int update_flags; | static unsigned int update_flags; | ||||||
| static unsigned create_reflog_flag; | static unsigned create_reflog_flag; | ||||||
| static const char *msg; | static const char *msg; | ||||||
|  |  | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	 Elijah Newren
						Elijah Newren