hplip-pserror-gcc14.patch 589 B

12345678910111213
  1. diff -Nru hplip-3.23.12.orig/prnt/hpps/pserror.c hplip-3.23.12/prnt/hpps/pserror.c
  2. --- hplip-3.23.12.orig/prnt/hpps/pserror.c 2023-11-27 15:06:40.000000000 +0000
  3. +++ hplip-3.23.12/prnt/hpps/pserror.c 2024-06-06 07:28:05.765351553 +0000
  4. @@ -24,7 +24,7 @@
  5. void message(int flags, char *format, ...)
  6. {
  7. va_list args ;
  8. - static column = 0 ; /* current screen column for message wrap */
  9. + static int column = 0 ; /* current screen column for message wrap */
  10. char msgbuf[MAX_MESSAGE] ; /* buffer in which to put the message */
  11. char *bufptr = msgbuf ; /* message buffer pointer */