Elm glayer: Fixed wrong usage of intptr_t.
authorTom Hacohen <tom@stosb.com>
Mon, 20 Feb 2012 09:23:19 +0000 (09:23 +0000)
committerTom Hacohen <tom@stosb.com>
Mon, 20 Feb 2012 09:23:19 +0000 (09:23 +0000)
Spank Spank.

SVN revision: 68150

src/lib/elm_gesture_layer.c

index ccba14e..17665fc 100644 (file)
@@ -856,9 +856,9 @@ _add_device_pending(Eina_List *list, void *event, Evas_Callback_Type event_type)
      }
 
    if (!eina_list_search_unsorted_list(list, device_in_pending_list,
-            (intptr_t*) device))
+            (intptr_t) device))
      {
-        return eina_list_append(list, (intptr_t*) device);
+        return eina_list_append(list, (intptr_t) device);
      }
 
    return list;
@@ -886,7 +886,7 @@ _device_is_pending(Eina_List *list, void *event, Evas_Callback_Type event_type)
      }
 
    return eina_list_search_unsorted_list(list, device_in_pending_list,
-         (intptr_t *) device);
+         (intptr_t) device);
 }
 
 /**