Author: jghali
Date: Thu May 28 00:42:46 2020
New Revision: 23844

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=23844
Log:
Fix msvc warning C4838: conversion from 'type_1' to 'type_2' requires a 
narrowing conversion

Modified:
    trunk/Scribus/scribus/third_party/fparser/fpoptimizer.cc

Modified: trunk/Scribus/scribus/third_party/fparser/fpoptimizer.cc
URL: 
http://scribus.net/websvn/diff.php?repname=Scribus&rev=23844&path=/trunk/Scribus/scribus/third_party/fparser/fpoptimizer.cc
==============================================================================
--- trunk/Scribus/scribus/third_party/fparser/fpoptimizer.cc    (original)
+++ trunk/Scribus/scribus/third_party/fparser/fpoptimizer.cc    Thu May 28 
00:42:46 2020
@@ -807,7 +807,7 @@
     inline crc32_t update(crc32_t crc, unsigned/* char */b) // 
__attribute__((pure))
     {
         // Four values of the table
-        #define B4(n) b8<n>::res,b8<n+1>::res,b8<n+2>::res,b8<n+3>::res
+        #define B4(n) 
(crc32_t)b8<n>::res,(crc32_t)b8<n+1>::res,(crc32_t)b8<n+2>::res,(crc32_t)b8<n+3>::res
         // Sixteen values of the table
         #define R(n) B4(n),B4(n+4),B4(n+8),B4(n+12)
         // The whole table, index by steps of 16


_______________________________________________
scribus-commit mailing list
[email protected]
http://lists.scribus.net/mailman/listinfo/scribus-commit

Reply via email to