Remove unnecessary cast to (void **)
Fixes a compiler warning about dereferencing type-punned pointers.
This commit is contained in:
		
							parent
							
								
									0697a9047d
								
							
						
					
					
						commit
						2d85a69e49
					
				| @ -38,7 +38,7 @@ void add_connect_port_allowed (int port, vector_t *connect_ports) | ||||
| 
 | ||||
|         log_message (LOG_INFO, | ||||
|                      "Adding Port [%d] to the list allowed by CONNECT", port); | ||||
|         vector_append (*connect_ports, (void **) &port, sizeof (port)); | ||||
|         vector_append (*connect_ports, &port, sizeof (port)); | ||||
| } | ||||
| 
 | ||||
| /*
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Mukund Sivaraman
						Mukund Sivaraman