Ecore audio: Fix casting of int to void *.

When doing that, intptr_t shoud be used as well.
This commit is contained in:
Tom Hacohen 2014-04-02 14:34:47 +01:00
parent 07da26add9
commit a77c614c7f
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{
if (!strcmp(key, ECORE_AUDIO_ATTR_TONE_FREQ)) {
return (void *)obj->freq;
return (void *) (intptr_t) obj->freq;
} else {
void *ret = NULL;
eo_do_super(eo_obj, MY_CLASS, eo_base_data_get(key, &ret));