summaryrefslogtreecommitdiff
blob: a5397260ffb593f9ef8a7a994476b48187e1b233 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: Fix unsigned char declaration of src[]
Author: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Last-Update: 2017-02-27

https://bugs.gentoo.org/show_bug.cgi?id=622484
https://sourceforge.net/p/ufraw/bugs/417/
https://src.fedoraproject.org/cgit/rpms/ufraw.git/tree/05_fix_build_due_to_unsigned_char.patch
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=856227

--- ufraw-0.22.orig/dcraw.cc
+++ ufraw-0.22/dcraw.cc
@@ -2285,7 +2285,7 @@ void CLASS quicktake_100_load_raw()
 
 void CLASS kodak_radc_load_raw()
 {
-  static const char src[] = {
+  static const signed char src[] = {
     1,1, 2,3, 3,4, 4,2, 5,7, 6,5, 7,6, 7,8,
     1,0, 2,1, 3,3, 4,4, 5,2, 6,7, 7,6, 8,5, 8,8,
     2,1, 2,3, 3,0, 3,2, 3,4, 4,6, 5,5, 6,7, 6,8,