summaryrefslogtreecommitdiffstats
path: root/source/printing/pcap.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/printing/pcap.c')
-rw-r--r--source/printing/pcap.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/printing/pcap.c b/source/printing/pcap.c
index 37de0a9ad84..c8387bf79c8 100644
--- a/source/printing/pcap.c
+++ b/source/printing/pcap.c
@@ -247,10 +247,11 @@ must be in DOS codepage.
The xxx_printername_ok functions need fixing to understand they are being
given a DOS codepage. FIXME !! JRA.
***************************************************************************/
-BOOL pcap_printername_ok(char *pszPrintername, char *pszPrintcapname)
+
+BOOL pcap_printername_ok(char *pszPrintername, const char *pszPrintcapname)
{
char *line=NULL;
- char *psz;
+ const char *psz;
char *p,*q;
FILE *pfile;