Sophie

Sophie

distrib > Mageia > 9 > armv7hl > media > core-release-src > by-pkgid > 34d3007addba92609f3094d96935b9f6 > files > 3

hplip-3.22.10-4.mga9.src.rpm

#! /bin/sh /usr/share/dpatch/dpatch-run
## 14_charsign_fixes.dpatch by  <till.kamppeter@gmail.com>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: some missing charsign

@DPATCH@
diff --git a/scan/sane/scl.c b/scan/sane/scl.c
index cc640f4..eccd990 100755
--- a/scan/sane/scl.c
+++ b/scan/sane/scl.c
@@ -37,10 +37,11 @@
 #define DEBUG_DECLARE_ONLY
 #include "sanei_debug.h"
 
-static int SclBufferIsPartialReply( unsigned char * data, int datalen )
+static int SclBufferIsPartialReply( void * dataptr, int datalen )
 {
     int i = 0, value = 0;
-    unsigned char d;  
+    unsigned char * const data = dataptr;
+    unsigned int d;
 
     if( i >= datalen )
     {