diff options
Diffstat (limited to 'fabs.patch')
-rw-r--r-- | fabs.patch | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/fabs.patch b/fabs.patch deleted file mode 100644 index b0a62e3dbd92..000000000000 --- a/fabs.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- src/ZoneMinder-1.30.4/src/zm_image.cpp 2017-06-17 04:20:45.808503543 -0300 -+++ src/ZoneMinder-1.30.4/src/zm_image.cpp.2 2017-06-17 04:20:40.221794330 -0300 -@@ -1659,7 +1659,7 @@ - uint8_t *psrc = images[j]->buffer+c; - - #ifndef SOLARIS -- if ( (unsigned)abs((*psrc)-RGB_VAL(ref_colour,c)) >= RGB_VAL(threshold,c) ) -+ if ( (unsigned)fabs((*psrc)-RGB_VAL(ref_colour,c)) >= RGB_VAL(threshold,c) ) - #else - if ( (unsigned)std::abs((*psrc)-RGB_VAL(ref_colour,c)) >= RGB_VAL(threshold,c) ) - #endif |