From ff412b74d80d455e80d6e3373628e2c1149437fe Mon Sep 17 00:00:00 2001 From: "Darryl L. Miles" Date: Fri, 4 Oct 2024 11:32:55 +0100 Subject: [PATCH] K&R graphics/W3Dmain.c: too few args in CIFNameToMask() K&R obsolete syntax removal for C23 compatibility series --- graphics/W3Dmain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphics/W3Dmain.c b/graphics/W3Dmain.c index 26e33325..5c45c1d0 100644 --- a/graphics/W3Dmain.c +++ b/graphics/W3Dmain.c @@ -774,7 +774,7 @@ w3dSeeLayers(w, cmd) if (crec->cif) { /* If CIF layers, match the layer name (1 only) */ - if (!CIFNameToMask(cmd->tx_argv[lidx], &mask)) + if (!CIFNameToMask(cmd->tx_argv[lidx], &mask, NULL)) return; } else