File hplip-pserror-c99.patch of Package hplip

From 172b9b7b4fc55233015202f5d9a467674e8dcb3f Mon Sep 17 00:00:00 2001
From: Martin Wilck <mwilck@suse.com>
Date: Tue, 3 Feb 2026 17:57:28 +0100
Subject: [PATCH 19/33] hplip: pserror c99

---
 prnt/hpps/pserror.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/prnt/hpps/pserror.c b/prnt/hpps/pserror.c
index 114d7e1..493b49c 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 */
 
-- 
2.52.0

openSUSE Build Service is sponsored by