r24653 by jghali - Fix compiler warning

scribus-commit scribus-commit at lists.scribus.net
Sat May 29 14:36:51 UTC 2021


Author: jghali
Date: Sat May 29 14:36:51 2021
New Revision: 24653

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=24653
Log:
Fix compiler warning

Modified:
    trunk/Scribus/scribus/util_image.h

Modified: trunk/Scribus/scribus/util_image.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24653&path=/trunk/Scribus/scribus/util_image.h
==============================================================================
--- trunk/Scribus/scribus/util_image.h	(original)
+++ trunk/Scribus/scribus/util_image.h	Sat May 29 14:36:51 2021
@@ -53,7 +53,7 @@
 	
 	for (uint64_t i = 0; i < samples; ++i)
 	{
-		input = (static_cast<int32>(*dataIn) + 32768);
+		input = (static_cast<int32_t>(*dataIn) + 32768);
 		output = input >> 8;
 		*dataOut = output;
 		++dataIn;




More information about the scribus-commit mailing list