mirror of
				https://github.com/berlin-open-wireless-lab/DAWN.git
				synced 2025-03-09 15:40:12 +00:00 
			
		
		
		
	uci: fix arm64 compiling
Fixes: https://github.com/openwrt/packages/issues/12488#issuecomment-643138068
This commit is contained in:
		
							parent
							
								
									c2a63293d1
								
							
						
					
					
						commit
						ada3bf3ff2
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -41,7 +41,7 @@ void uci_get_hostname(char* hostname) | |||
|         { | ||||
|             len = dot - ptr.o->v.string; | ||||
|         } | ||||
|         snprintf(hostname, HOST_NAME_MAX, "%.*s", len, ptr.o->v.string); | ||||
|         snprintf(hostname, HOST_NAME_MAX, "%.*s", (int)len, ptr.o->v.string); | ||||
|     } | ||||
| 
 | ||||
|     uci_free_context(c); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue