From 6b48d23402a2f9a55614f7cedf33252b15c54af1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Tue, 22 May 2012 15:19:37 +0200 Subject: eiotas_private.h: add missing cast in INIT_IOTA --- src/lib/eiotas_private.h | 6 +++--- 1 file 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) \ -- cgit v1.1-2-g2b99