forked from bonsai/harakit
		
	libgetopt.rs(3): fixes typecasting for ARM devices
This commit is contained in:
		
							parent
							
								
									d07bb7da41
								
							
						
					
					
						commit
						50bbee10a9
					
				@ -88,7 +88,7 @@ impl GetOpt for Vec<String> {
 | 
			
		||||
 | 
			
		||||
		/* god knows what this does */
 | 
			
		||||
		let boxed = Box::into_raw(c_strings.into_boxed_slice());
 | 
			
		||||
		let argv = boxed as *const *mut i8;
 | 
			
		||||
		let argv = boxed as *const *mut c_char;
 | 
			
		||||
 | 
			
		||||
		/* operations are separated out so that everything lives long enough */
 | 
			
		||||
        let opts = CString::new(optstring).unwrap().into_raw();
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user