From 40731f04335f6ee33dc375198ddf3a67a8975f0e Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Tue, 16 Jul 2019 03:12:31 -0700 Subject: [PATCH] SCP: Fix help topic matching to properly return wildcard and ambiguous status As reported in #723 --- scp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scp.c b/scp.c index cae15973..39b440a4 100644 --- a/scp.c +++ b/scp.c @@ -13568,7 +13568,7 @@ return SCPE_OK; #define HLP_MATCH_AMBIGUOUS (~0u) #define HLP_MATCH_WILDCARD (~1U) #define HLP_MATCH_NONE 0 -static int matchHelpTopicName (TOPIC *topic, const char *token) +static size_t matchHelpTopicName (TOPIC *topic, const char *token) { size_t i, match; char cbuf[CBUFSIZE], *cptr;