diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2019-02-21 15:22:47 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2019-02-21 15:23:26 +0100 |
commit | cdc5e2cec5de1eb29ea3a42148c0b1302e97877f (patch) | |
tree | 0dd8d9fbfd7fb168be5778db93ffc4b6a29f1cc5 /strbuf.h | |
parent | Made to compile as C++. (diff) | |
download | calp-cdc5e2cec5de1eb29ea3a42148c0b1302e97877f.tar.gz calp-cdc5e2cec5de1eb29ea3a42148c0b1302e97877f.tar.xz |
Fix c++ compile warnings.
Diffstat (limited to 'strbuf.h')
-rw-r--r-- | strbuf.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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. |