summaryrefslogtreecommitdiff
path: root/src/lib/ecore_audio
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2014-04-02 14:34:47 +0100
committerTom Hacohen <tom@stosb.com>2014-04-02 14:34:47 +0100
commita77c614c7f605a1a519887368f80714cdd542273 (patch)
treed471d27a833368325eb11c152753979232dbb122 /src/lib/ecore_audio
parent07da26add95398a7c8b060c0bdf2aba0d65c03a0 (diff)
Ecore audio: Fix casting of int to void *.
When doing that, intptr_t shoud be used as well.
Diffstat (limited to 'src/lib/ecore_audio')
-rw-r--r--src/lib/ecore_audio/ecore_audio_obj_in_tone.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ecore_audio/ecore_audio_obj_in_tone.c b/src/lib/ecore_audio/ecore_audio_obj_in_tone.c
index 8ba55ada7f..60f634881f 100644
--- a/src/lib/ecore_audio/ecore_audio_obj_in_tone.c
+++ b/src/lib/ecore_audio/ecore_audio_obj_in_tone.c
@@ -99,7 +99,7 @@ EOLIAN static void*
99_ecore_audio_in_tone_eo_base_data_get(Eo *eo_obj, Ecore_Audio_In_Tone_Data *obj, const char *key) 99_ecore_audio_in_tone_eo_base_data_get(Eo *eo_obj, Ecore_Audio_In_Tone_Data *obj, const char *key)
100{ 100{
101 if (!strcmp(key, ECORE_AUDIO_ATTR_TONE_FREQ)) { 101 if (!strcmp(key, ECORE_AUDIO_ATTR_TONE_FREQ)) {
102 return (void *)obj->freq; 102 return (void *) (intptr_t) obj->freq;
103 } else { 103 } else {
104 void *ret = NULL; 104 void *ret = NULL;
105 eo_do_super(eo_obj, MY_CLASS, eo_base_data_get(key, &ret)); 105 eo_do_super(eo_obj, MY_CLASS, eo_base_data_get(key, &ret));