From 42403efd1f6b8d42b4ac35df5e1a56aefc7b3df8 Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Thu, 17 Sep 2015 14:52:49 -0700 Subject: [PATCH] VIDEO: Avoid compiler warning when building without video support --- sim_video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sim_video.c b/sim_video.c index af1a68a7..3dd09a76 100644 --- a/sim_video.c +++ b/sim_video.c @@ -1944,7 +1944,7 @@ fprintf (st, "video support unavailable"); return SCPE_OK; } -t_stat vid_screenshot (char *filename) +t_stat vid_screenshot (const char *filename) { sim_printf ("video support unavailable\n"); return SCPE_NOFNC|SCPE_NOMESSAGE;