diff options
Diffstat (limited to 'src/lsp/json_rpc.c')
| -rw-r--r-- | src/lsp/json_rpc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lsp/json_rpc.c b/src/lsp/json_rpc.c index 9baf33e..ffb5d1f 100644 --- a/src/lsp/json_rpc.c +++ b/src/lsp/json_rpc.c @@ -114,7 +114,7 @@ void handle_request(const char *json_str) "\"signatureHelpProvider\":{\"triggerCharacters\":[\"(\"]}," "\"completionProvider\":{" "\"triggerCharacters\":[\".\"]}}}}"; - fprintf(stdout, "Content-Length: %ld\r\n\r\n%s", strlen(response), response); + fprintf(stdout, "Content-Length: %zu\r\n\r\n%s", strlen(response), response); fflush(stdout); } else if (strcmp(method, "textDocument/didOpen") == 0 || |
