mirror of
				https://github.com/webmproject/libwebp.git
				synced 2025-10-31 18:35:41 +01:00 
			
		
		
		
	fix double to float conversion warning
introduced in:
 a792b91 fix the -g/O3 discrepancy for 32bit compile
Change-Id: Ic77d6170a5a91cf58ec10c68656ac61a7c0ee41d
			
			
This commit is contained in:
		| @@ -553,7 +553,7 @@ static int BackwardReferencesHashChainDistanceOnly( | ||||
|         cost_val += GetLiteralCost(cost_model, argb[i]) * mul1; | ||||
|       } | ||||
|       if (cost[i] > cost_val) { | ||||
|         cost[i] = cost_val; | ||||
|         cost[i] = (float)cost_val; | ||||
|         dist_array[i] = 1;  // only one is inserted. | ||||
|       } | ||||
|       if (use_color_cache) VP8LColorCacheInsert(&hashers, argb[i]); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user