X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=libctsim%2Fbackprojectors.cpp;h=581b7ff0fccae2c4762723da08331f0f2d6d8b9a;hp=d38b7189f6b6c878b09ec0549dca5daf242ce24e;hb=8427cefe77dc3d3bcca196360997d400d7629e24;hpb=e46615378520c3e801074560ebdc36be9558c6dd diff --git a/libctsim/backprojectors.cpp b/libctsim/backprojectors.cpp index d38b718..581b7ff 100644 --- a/libctsim/backprojectors.cpp +++ b/libctsim/backprojectors.cpp @@ -588,7 +588,7 @@ BackprojectIntDiff::BackprojectView (const double* const filteredProj, const dou #elif SIZEOF_LONG == 8 static const int scaleShift = 32; #endif - static const long scale = (1 << scaleShift); + static const long scale = (1L << scaleShift); static const long scaleBitmask = scale - 1; static const long halfScale = scale / 2; static const double dInvScale = 1. / scale;