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 /vcal.h | |
parent | Made to compile as C++. (diff) | |
download | calp-cdc5e2cec5de1eb29ea3a42148c0b1302e97877f.tar.gz calp-cdc5e2cec5de1eb29ea3a42148c0b1302e97877f.tar.xz |
Fix c++ compile warnings.
Diffstat (limited to '')
-rw-r--r-- | vcal.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -96,11 +96,11 @@ struct s_vcomponent { #define FCHILD(v) GET(VECT(vcomponent))(&(v)->components, 0) INIT_F(vcomponent); -INIT_F(vcomponent, char* type); -INIT_F(vcomponent, char* type, char* filename); +INIT_F(vcomponent, const char* type); +INIT_F(vcomponent, const char* type, const char* filename); FREE_F(vcomponent); -content_line* get_property (vcomponent* ev, char* key); +content_line* get_property (vcomponent* ev, const char* key); int add_content_line (vcomponent* ev, content_line* c); |