mirror of
				https://git.code.sf.net/p/libpng/code.git
				synced 2025-07-10 18:04:09 +02:00 
			
		
		
		
	[libpng16] Update png_err() to use new typecast.
This commit is contained in:
		
							parent
							
								
									fcd301daed
								
							
						
					
					
						commit
						0522f269e0
					
				| @ -96,7 +96,7 @@ png_err,(png_const_structrp png_ptr),PNG_NORETURN) | ||||
|     * will crash in this case. | ||||
|     */ | ||||
|    if (png_ptr != NULL && png_ptr->error_fn != NULL) | ||||
|       (*(png_ptr->error_fn))(png_ptr, ""); | ||||
|       (*(png_ptr->error_fn))(png_constcast(png_structrp,png_ptr), ""); | ||||
| 
 | ||||
|    /* If the custom handler doesn't exist, or if it returns,
 | ||||
|       use the default handler, which will not return. */ | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Glenn Randers-Pehrson
						Glenn Randers-Pehrson