evas: Fix casts
authorMike McCormack <mikem@atratus.org>
Tue, 9 Oct 2012 11:59:44 +0000 (11:59 +0000)
committerMike McCormack <mikem@ring3k.org>
Tue, 9 Oct 2012 11:59:44 +0000 (11:59 +0000)
Signed-off-by: Mike McCormack <mikem@atratus.org>
SVN revision: 77641

legacy/evas/src/bin/evas_cserve2_cache.c

index d87e1e1..5e7783b 100644 (file)
@@ -1923,7 +1923,7 @@ cserve2_cache_file_open(Client *client, unsigned int client_file_id, const char
    entry->key = strdup(key);
    entry->base.id = file_id;
    eina_hash_add(file_entries, &file_id, entry);
-   eina_hash_add(file_ids, buf, (intptr_t*)(int64_t)file_id);
+   eina_hash_add(file_ids, buf, (void*)(intptr_t)file_id);
    ref = _entry_reference_add((Entry *)entry, client, client_file_id);
    eina_hash_add(client->files.referencing, &client_file_id, ref);
 
@@ -2024,7 +2024,7 @@ cserve2_cache_image_opts_set(Client *client, Msg_Setopts *msg)
 
    entry->base.id = image_id;
    eina_hash_add(image_entries, &image_id, entry);
-   eina_hash_add(image_ids, buf, (intptr_t *)(int64_t)image_id);
+   eina_hash_add(image_ids, buf, (void *)(intptr_t)image_id);
    ref = _entry_reference_add((Entry *)entry, client, msg->image_id);
 
    if (oldref)