Fixed bug in report #3346

pull/1853/head
StevenPuttemans 11 years ago
parent 70a4de20d7
commit 7a8bd31657
  1. 2
      modules/imgproc/src/precomp.hpp

@ -64,7 +64,7 @@
/* helper tables */
extern const uchar icvSaturate8u_cv[];
#define CV_FAST_CAST_8U(t) (assert(-256 <= (t) || (t) <= 512), icvSaturate8u_cv[(t)+256])
#define CV_FAST_CAST_8U(t) (assert(-256 <= (t) && (t) <= 512), icvSaturate8u_cv[(t)+256])
#define CV_CALC_MIN_8U(a,b) (a) -= CV_FAST_CAST_8U((a) - (b))
#define CV_CALC_MAX_8U(a,b) (a) += CV_FAST_CAST_8U((b) - (a))

Loading…
Cancel
Save