summaryrefslogtreecommitdiffstats
path: root/source/ap/hplip/hplip-pserror-c99.patch
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2024-05-12 19:10:12 +0000
committer Eric Hameleers <alien@slackware.com>2024-05-12 21:28:58 +0200
commitabc3e67678d77c43fe739af3ed812d558cc83435 (patch)
treea9e061d3fd40a4bff2bf8e46d18117da5179abbd /source/ap/hplip/hplip-pserror-c99.patch
parentafc0f1e9aaa780f00b61d8c42b3a77833fbbaff8 (diff)
downloadcurrent-abc3e67678d77c43fe739af3ed812d558cc83435.tar.gz
current-abc3e67678d77c43fe739af3ed812d558cc83435.tar.xz
Sun May 12 19:10:12 UTC 202420240512191012
a/less-654-x86_64-1.txz: Upgraded. d/ninja-1.12.1-x86_64-1.txz: Upgraded. n/whois-5.5.23-x86_64-1.txz: Upgraded. Updated the .sc, .********* (.xn--yfro4i67o, Singapore) and .********************************* (.xn--clchc0ea0b2g2a9gcd, Singapore) TLD servers. extra/bittornado/bittornado-0.3.18-noarch-3.txz: Removed. Obsolete and based on python2.
Diffstat (limited to 'source/ap/hplip/hplip-pserror-c99.patch')
-rw-r--r--source/ap/hplip/hplip-pserror-c99.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/source/ap/hplip/hplip-pserror-c99.patch b/source/ap/hplip/hplip-pserror-c99.patch
new file mode 100644
index 000000000..747af3abf
--- /dev/null
+++ b/source/ap/hplip/hplip-pserror-c99.patch
@@ -0,0 +1,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 */
+