summaryrefslogtreecommitdiff
path: root/pcr/zoneminder/zoneminder-1.25-fixwarning.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/zoneminder/zoneminder-1.25-fixwarning.patch')
-rw-r--r--pcr/zoneminder/zoneminder-1.25-fixwarning.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/pcr/zoneminder/zoneminder-1.25-fixwarning.patch b/pcr/zoneminder/zoneminder-1.25-fixwarning.patch
new file mode 100644
index 000000000..0d151d139
--- /dev/null
+++ b/pcr/zoneminder/zoneminder-1.25-fixwarning.patch
@@ -0,0 +1,14 @@
+diff -U 3 -H -d -r -N -- ZoneMinder-1.24.2/src/zm_image.cpp ZoneMinder-1.24.2-patch/src/zm_image.cpp
+--- ZoneMinder-1.24.2/src/zm_image.cpp 2009-05-25 20:04:00.000000000 +0200
++++ ZoneMinder-1.24.2-patch/src/zm_image.cpp 2009-07-04 16:31:45.000000000 +0200
+@@ -776,7 +776,8 @@
+
+ while( pdest < (buffer+size) )
+ {
+- *pdest++ = (*blend_ptr)[*pdest][*psrc++];
++ *pdest = (*blend_ptr)[*pdest][*psrc++];
++ pdest++;
+ }
+ }
+ else
+