aboutsummaryrefslogtreecommitdiff
path: root/strbuf.h
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2019-02-21 15:22:47 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2019-02-21 15:23:26 +0100
commitcdc5e2cec5de1eb29ea3a42148c0b1302e97877f (patch)
tree0dd8d9fbfd7fb168be5778db93ffc4b6a29f1cc5 /strbuf.h
parentMade to compile as C++. (diff)
downloadcalp-cdc5e2cec5de1eb29ea3a42148c0b1302e97877f.tar.gz
calp-cdc5e2cec5de1eb29ea3a42148c0b1302e97877f.tar.xz
Fix c++ compile warnings.
Diffstat (limited to 'strbuf.h')
-rw-r--r--strbuf.h2
1 files changed, 1 insertions, 1 deletions
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.