mirror of
				https://gitlab.gnome.org/GNOME/libxslt
				synced 2025-11-04 00:53:12 +03:00 
			
		
		
		
	Fix clang -Wimplicit-int-conversion warning
* libxslt/numbers.c: (xsltNumberFormatDecimal): Cast `val` to `(xmlChar)` to fix the warning.
This commit is contained in:
		
				
					committed by
					
						
						Nick Wellnhofer
					
				
			
			
				
	
			
			
			
						parent
						
							291d190b3d
						
					
				
				
					commit
					aac4bccdd8
				
			@@ -177,7 +177,7 @@ xsltNumberFormatDecimal(xmlBufferPtr buffer,
 | 
			
		||||
	        i = -1;
 | 
			
		||||
		break;
 | 
			
		||||
	    }
 | 
			
		||||
	    *(--pointer) = val;
 | 
			
		||||
	    *(--pointer) = (xmlChar)val;
 | 
			
		||||
	}
 | 
			
		||||
	else {
 | 
			
		||||
	/*
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user