From 25ef52de25b7f3b538f295d5b837cd54dc9ed66c Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Thu, 24 Dec 2015 14:09:51 +0100 Subject: [PATCH] - enhanced C++ patch (remove switch-bool warning, which prevented build with -Werror) --- framewave-c++.patch | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/framewave-c++.patch b/framewave-c++.patch index 7645556..c2d9344 100644 --- a/framewave-c++.patch +++ b/framewave-c++.patch @@ -1422,3 +1422,34 @@ namespace DIV { template< class TS1, class TS2, class TD > +--- FRAMEWAVE_1.3.1_SRC/Framewave/domain/fwImage/src/Mirror.cpp.orig 2009-07-09 11:15:34.000000000 +0200 ++++ FRAMEWAVE_1.3.1_SRC/Framewave/domain/fwImage/src/Mirror.cpp 2015-12-24 13:41:28.316508869 +0100 +@@ -1130,9 +1130,7 @@ + TS *ptDstRow ; + bool isAligned ; + +- switch((chSrc <= 4)) +- { +- case(true): ++ if(chSrc <= 4) { + for (y=0; y(ptDstRow, ptSrcRow, numBytes); + } +- break; +- default: //AC4 ++ } else { //AC4 + __m128i mask; + Get_AC4_mask(mask); + for (y=0; y(ptDstRow, ptSrcRow, numBytes, mask); + } +- break; + } + return fwStsNoErr; + } -- 2.43.0