forked from enlightenment/efl
evas: Fix warning with va_start in internal EAPI
Clang 3.9.0 told me: warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] So I told it to shut up and changed Eina_Bool to int. Note that edje_edit_state_external_param_set has the same issue.
This commit is contained in:
parent
d0333561be
commit
b96b2aafcb
|
@ -2518,7 +2518,7 @@ enum _Evas_Object_Intercept_Cb_Type
|
|||
};
|
||||
typedef enum _Evas_Object_Intercept_Cb_Type Evas_Object_Intercept_Cb_Type;
|
||||
|
||||
EWAPI Eina_Bool _evas_object_intercept_call(Evas_Object *obj, Evas_Object_Intercept_Cb_Type type, Eina_Bool internal, ...);
|
||||
EWAPI Eina_Bool _evas_object_intercept_call(Evas_Object *obj, Evas_Object_Intercept_Cb_Type type, int internal, ...);
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -88,7 +88,7 @@ EVAS_OBJECT_INTERCEPT_CALL(clip_set, (COMMON_ARGS, Evas_Object *clip), UNPACK
|
|||
*/
|
||||
EWAPI Eina_Bool
|
||||
_evas_object_intercept_call(Evas_Object *eo_obj, Evas_Object_Intercept_Cb_Type cb_type,
|
||||
Eina_Bool internal, ...)
|
||||
int internal, ...)
|
||||
{
|
||||
Evas_Object_Protected_Data *obj = efl_data_scope_get(eo_obj, EFL_CANVAS_OBJECT_CLASS);
|
||||
Eina_Bool blocked = 0;
|
||||
|
|
|
@ -422,7 +422,7 @@ _instruction_param_addv(Evas_Filter_Instruction *instr, const char *name,
|
|||
|
||||
static Eina_Bool
|
||||
_instruction_param_adda(Evas_Filter_Instruction *instr, const char *name,
|
||||
Value_Type format, Eina_Bool sequential,
|
||||
Value_Type format, int sequential,
|
||||
/* default value */ ...)
|
||||
{
|
||||
Eina_Bool ok;
|
||||
|
|
Loading…
Reference in New Issue