diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2017-01-12 14:10:20 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-01-12 14:12:37 +0000 |
commit | c91bba7beb3a5cb3204fa59656532a80def51c39 (patch) | |
tree | 475f41e4aa4187197aee7980c6befc04aafb4118 /main/libdc1394/0001-Fix-bad-variable-type-uint-int.patch | |
parent | 04a425be57d46ea9fbafd6fe93cda9e09f2958a8 (diff) | |
download | aports-c91bba7beb3a5cb3204fa59656532a80def51c39.tar.bz2 aports-c91bba7beb3a5cb3204fa59656532a80def51c39.tar.xz |
main/libdc1394: use upstream patch
Diffstat (limited to 'main/libdc1394/0001-Fix-bad-variable-type-uint-int.patch')
-rw-r--r-- | main/libdc1394/0001-Fix-bad-variable-type-uint-int.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/main/libdc1394/0001-Fix-bad-variable-type-uint-int.patch b/main/libdc1394/0001-Fix-bad-variable-type-uint-int.patch new file mode 100644 index 0000000000..c2a5728571 --- /dev/null +++ b/main/libdc1394/0001-Fix-bad-variable-type-uint-int.patch @@ -0,0 +1,37 @@ +From 9d0c3158bc73292ca755477f60cbf5b5fd622fde Mon Sep 17 00:00:00 2001 +From: Damien Douxchamps <ddsf@douxchamps.net> +Date: Thu, 12 Jan 2017 16:47:27 +0900 +Subject: [PATCH] Fix bad variable type uint -> int + +Type was change to uint in recent commit but it should have been INT. + +Signed-off-by: Damien Douxchamps <ddsf@douxchamps.net> +--- + libdc1394/AUTHORS | 1 + + libdc1394/dc1394/bayer.c | 3 ++- + 2 files changed, 3 insertions(+), 1 deletion(-) + +diff --git a/libdc1394/dc1394/bayer.c b/libdc1394/dc1394/bayer.c +index 10a4c1b..cbdc417 100644 +--- a/dc1394/bayer.c ++++ b/dc1394/bayer.c +@@ -24,6 +24,7 @@ + #include <limits.h> + #include <math.h> + #include <stdlib.h> ++#include <stdint.h> + #include <string.h> + #include "conversions.h" + +@@ -775,7 +776,7 @@ dc1394_bayer_Downsample(const uint8_t *restrict bayer, uint8_t *restrict rgb, in + { + uint8_t *outR, *outG, *outB; + register int i, j; +- uint tmp; ++ int tmp; + int st=sx*sy; + int p; + int sx2=sx<<1; +-- +2.11.0 + |