From cdc5e2cec5de1eb29ea3a42148c0b1302e97877f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Thu, 21 Feb 2019 15:22:47 +0100 Subject: Fix c++ compile warnings. --- strbuf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'strbuf.h') diff --git a/strbuf.h b/strbuf.h index c531734e..de4cc29b 100644 --- a/strbuf.h +++ b/strbuf.h @@ -40,7 +40,7 @@ int strbuf_realloc(strbuf* str, size_t len); FREE_F(strbuf); int strbuf_cmp(strbuf* a, strbuf* b); -int strbuf_c(strbuf* a, char* b); +int strbuf_c(strbuf* a, const char* b); /* * Copy contents from src to dest. -- cgit v1.2.3