Comment 1 for bug 1989798

Revision history for this message
In , jasiupsota (jasiupsota-gentoo-bugs) wrote :

Obvious solution:
--- a/prnt/hpps/pserror.c
+++ b/prnt/hpps/pserror.c
@@ -24,7 +24,7 @@ extern char *program ; /* Defined by mai
 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 */

proposed by Khem Raj <email address hidden>, found here:
https://cgit.openembedded.org/meta-openembedded/plain/meta-oe/recipes-extended/hplip/hplip/0003-pserror.c-Define-column-to-be-int-explcitly.patch