diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-05-31 10:11:28 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-05-31 10:11:28 +0200 |
commit | 156d23df6d0414c254b9f6e7ce18052ac3e71658 (patch) | |
tree | cf68b89c3cff52b8882329e16f68e2fcd7d69885 /src/lib/eiotas_spin.c | |
parent | ea2f90e7d0e3a0bda886eeccb11b8d7dbbf0250e (diff) | |
download | edoors-156d23df6d0414c254b9f6e7ce18052ac3e71658.zip edoors-156d23df6d0414c254b9f6e7ce18052ac3e71658.tar.gz |
add const to some function parameters
Diffstat (limited to 'src/lib/eiotas_spin.c')
-rw-r--r-- | src/lib/eiotas_spin.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/eiotas_spin.c b/src/lib/eiotas_spin.c index e0f8231..873a4d1 100644 --- a/src/lib/eiotas_spin.c +++ b/src/lib/eiotas_spin.c @@ -80,12 +80,12 @@ EAPI void eiotas_spin_release_particle(Eiotas_Spin *spin, Eiotas_Particle *parti eina_array_push(spin->free_particles,particle); } -EAPI void eiotas_spin_send_particle(Eiotas_Spin *spin, Eiotas_Particle *particle, Eina_Bool system) +EAPI void eiotas_spin_send_particle(Eiotas_Spin *spin, const Eiotas_Particle *particle, Eina_Bool system) { if(system) { - spin->sys_fifo = eina_inlist_append(spin->sys_fifo,EINA_INLIST_GET(particle)); + spin->sys_fifo = eina_inlist_append(spin->sys_fifo,EINA_INLIST_GET((Eiotas_Particle*)particle)); } else { - spin->app_fifo = eina_inlist_append(spin->app_fifo,EINA_INLIST_GET(particle)); + spin->app_fifo = eina_inlist_append(spin->app_fifo,EINA_INLIST_GET((Eiotas_Particle*)particle)); } } |