forked from enlightenment/efl
Ecore audio: Fix casting of int to void *.
When doing that, intptr_t shoud be used as well.
This commit is contained in:
parent
07da26add9
commit
a77c614c7f
|
@ -99,7 +99,7 @@ EOLIAN static void*
|
||||||
_ecore_audio_in_tone_eo_base_data_get(Eo *eo_obj, Ecore_Audio_In_Tone_Data *obj, const char *key)
|
_ecore_audio_in_tone_eo_base_data_get(Eo *eo_obj, Ecore_Audio_In_Tone_Data *obj, const char *key)
|
||||||
{
|
{
|
||||||
if (!strcmp(key, ECORE_AUDIO_ATTR_TONE_FREQ)) {
|
if (!strcmp(key, ECORE_AUDIO_ATTR_TONE_FREQ)) {
|
||||||
return (void *)obj->freq;
|
return (void *) (intptr_t) obj->freq;
|
||||||
} else {
|
} else {
|
||||||
void *ret = NULL;
|
void *ret = NULL;
|
||||||
eo_do_super(eo_obj, MY_CLASS, eo_base_data_get(key, &ret));
|
eo_do_super(eo_obj, MY_CLASS, eo_base_data_get(key, &ret));
|
||||||
|
|
Loading…
Reference in New Issue