// just calculate some position using the pointer value of the object as
// a seed value to make different objects go into different places over time
- v = ((int)o) & 0xff;
+ v = ((int)(uintptr_t)o) & 0xff;
t = ecore_loop_time_get();
w = 100 + ((v * 100) >> 8);
h = 100 + ((v * 100) >> 8);
Evas_Object *obj,
const char *part)
{
- int idx = (int)data;
+ int idx = (int)(uintptr_t)data;
return strdup(items[idx]);
}
{
char buf[32];
- gg_it = elm_gengrid_item_append(grid, &gic, (void *)i, NULL, NULL);
+ gg_it = elm_gengrid_item_append(grid, &gic, (void *)(uintptr_t)i, NULL, NULL);
/* indexing by first letters */
snprintf(buf, sizeof(buf), "%c", items[i][0]);