diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-05-22 15:19:37 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-05-22 15:19:37 +0200 |
commit | 6b48d23402a2f9a55614f7cedf33252b15c54af1 (patch) | |
tree | 57caff9b08177d5ba2059fc16e32052158a3da4c /src | |
parent | 5c5e230196463606c0570108c4097aa9e5fd01b9 (diff) | |
download | edoors-6b48d23402a2f9a55614f7cedf33252b15c54af1.zip edoors-6b48d23402a2f9a55614f7cedf33252b15c54af1.tar.gz |
eiotas_private.h: add missing cast in INIT_IOTA
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/eiotas_private.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/eiotas_private.h b/src/lib/eiotas_private.h index f6ed04b..7c8e9c8 100644 --- a/src/lib/eiotas_private.h +++ b/src/lib/eiotas_private.h @@ -50,9 +50,9 @@ int eiotas_iota_init(Eiotas_Iota *iota, const char *name, Eiotas_Iota *parent, E return NULL; \ } -#define INIT_IOTA(_iota,_name,_parent,_type) \ - if(eiotas_iota_init(_iota,_name,_parent,_type)) { \ - return NULL; \ +#define INIT_IOTA(_iota,_name,_parent,_type) \ + if(eiotas_iota_init(_iota,_name,(Eiotas_Iota*)_parent,_type)) { \ + return NULL; \ } #define ADD_TO_PARENT(_parent,_iota,_st_name) \ |