Andrew Geissler | 87f5cff | 2022-09-30 13:13:31 -0500 | [diff] [blame^] | 1 | From a27d6264671e7201b5d78bcc9200e7d946429979 Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Fri, 2 Sep 2022 17:57:53 -0700 |
| 4 | Subject: [PATCH 3/4] pserror.c: Define column to be int explcitly |
| 5 | |
| 6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 7 | --- |
| 8 | prnt/hpps/pserror.c | 2 +- |
| 9 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 10 | |
| 11 | --- a/prnt/hpps/pserror.c |
| 12 | +++ b/prnt/hpps/pserror.c |
| 13 | @@ -24,7 +24,7 @@ extern char *program ; /* Defined by mai |
| 14 | void message(int flags, char *format, ...) |
| 15 | { |
| 16 | va_list args ; |
| 17 | - static column = 0 ; /* current screen column for message wrap */ |
| 18 | + static int column = 0 ; /* current screen column for message wrap */ |
| 19 | char msgbuf[MAX_MESSAGE] ; /* buffer in which to put the message */ |
| 20 | char *bufptr = msgbuf ; /* message buffer pointer */ |
| 21 | |