wmppp.app: Replace deprecated caddr_t cast with void*.
This commit is contained in:
		
							parent
							
								
									40aaf4c6af
								
							
						
					
					
						commit
						7ec61f487b
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -904,7 +904,7 @@ void get_ppp_stats(struct ppp_stats *cur) {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	memset(&req, 0, sizeof(req));
 | 
						memset(&req, 0, sizeof(req));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	req.stats_ptr = (caddr_t) &req.stats;
 | 
						req.stats_ptr = (void*) &req.stats;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	strcpy(req.ifr__name, active_interface);
 | 
						strcpy(req.ifr__name, active_interface);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue