95e3708c4c
hplip-scan-orblite-c99.patch hplip-sclpml-strcasestr.patch hplip-hpaio-gcc14.patch to avoid C99 violations which prevent building with GCC 14. [boo#1225777] The patches were taken frombbb19dff5e
andd726b77698
If the request is OK, please forward it to Factory soon-ish too so that we can switch the default compiler. Thanks! OBS-URL: https://build.opensuse.org/package/show/Printing/hplip?expand=0&rev=252
18 lines
713 B
Diff
18 lines
713 B
Diff
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 */
|
|
|