From 6bf3b4947113cc8f9e88d17a483d1bde3b9bb93c Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Wed, 10 Feb 2021 21:07:57 +0000 Subject: [PATCH] noprint.c: fix compile failure. This file isn't used by any current in-tree PuTTY tool, so I didn't notice the missing const in printer_job_data's arguments. --- noprint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/noprint.c b/noprint.c index 2a989082..941da68c 100644 --- a/noprint.c +++ b/noprint.c @@ -16,7 +16,7 @@ printer_job *printer_start_job(char *printer) return NULL; } -void printer_job_data(printer_job *pj, void *data, size_t len) +void printer_job_data(printer_job *pj, const void *data, size_t len) { }