From 405da5f84b072ea97b69359454899f45d92d24b6 Mon Sep 17 00:00:00 2001 From: Albert Cervin Date: Wed, 22 May 2024 00:00:29 +0200 Subject: WIP LSP client This contains the start of an LSP client. Nothing (except starting the LSP server) works at the moment and the feature is disabled by default. --- src/dged/command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/dged/command.c') diff --git a/src/dged/command.c b/src/dged/command.c index 2775286..5f2551f 100644 --- a/src/dged/command.c +++ b/src/dged/command.c @@ -79,7 +79,7 @@ void command_ctx_push_arg(struct command_ctx *ctx, const char *argv) { } void command_ctx_free(struct command_ctx *ctx) { - for (uint32_t i = 0; i < ctx->saved_argc; ++i) { + for (uint32_t i = 0; i < (uint32_t)ctx->saved_argc; ++i) { free((char *)ctx->saved_argv[i]); } -- cgit v1.2.3