summaryrefslogtreecommitdiffstats
path: root/source/ap/hplip/hplip-pserror-c99.patch
blob: 747af3abfe8cee23f7e888c99e7d033930793b83 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
prnt/pserror.c: Replace an implicit int with an explicit int

Submitted upstream: <https://bugs.launchpad.net/hplip/+bug/1997875>

diff --git a/prnt/hpps/pserror.c b/prnt/hpps/pserror.c
index 114d7e1b5fa364fb..493b49c27917a7e6 100644
--- a/prnt/hpps/pserror.c
+++ b/prnt/hpps/pserror.c
@@ -24,7 +24,7 @@ extern char *program ;	/* Defined by main program, giving program name */
 void message(int flags, char *format, ...)
 {
   va_list args ;
-  static column = 0 ;		/* current screen column for message wrap */
+  static int column = 0 ;	/* current screen column for message wrap */
   char msgbuf[MAX_MESSAGE] ;	/* buffer in which to put the message */
   char *bufptr = msgbuf ;	/* message buffer pointer */