This introduces following warnings. elm_gesture_layer.c: In function '_add_device_pending': elm_gesture_layer.c:859:13: warning: passing argument 3 of 'eina_list_search_unsorted_list' makes pointer from integer without a cast /usr/local/include/eina-1/eina/eina_list.h:1163:28: note: expected 'const void *' but argument is of type 'int' elm_gesture_layer.c:861:9: warning: passing argument 2 of 'eina_list_append' makes pointer from integer without a cast /usr/local/include/eina-1/eina/eina_list.h:373:28: note: expected 'const void *' but argument is of type 'int' elm_gesture_layer.c: In function '_device_is_pending': elm_gesture_layer.c:889:10: warning: passing argument 3 of 'eina_list_search_unsorted_list' makes pointer from integer without a cast /usr/local/include/eina-1/eina/eina_list.h:1163:28: note: expected 'const void *' but argument is of type 'int'
Daniel Juyung Seo (SeoZ) On Mon, Feb 20, 2012 at 6:23 PM, Enlightenment SVN < [email protected]> wrote: > Log: > Elm glayer: Fixed wrong usage of intptr_t. > > Spank Spank. > > Author: tasn > Date: 2012-02-20 01:23:19 -0800 (Mon, 20 Feb 2012) > New Revision: 68150 > Trac: http://trac.enlightenment.org/e/changeset/68150 > > Modified: > trunk/elementary/src/lib/elm_gesture_layer.c > > Modified: trunk/elementary/src/lib/elm_gesture_layer.c > =================================================================== > --- trunk/elementary/src/lib/elm_gesture_layer.c 2012-02-20 > 09:22:23 UTC (rev 68149) > +++ trunk/elementary/src/lib/elm_gesture_layer.c 2012-02-20 > 09:23:19 UTC (rev 68150) > @@ -856,9 +856,9 @@ > } > > 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 @@ > } > > return eina_list_search_unsorted_list(list, device_in_pending_list, > - (intptr_t *) device); > + (intptr_t) device); > } > > /** > > > > ------------------------------------------------------------------------------ > Try before you buy = See our experts in action! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-dev2 > _______________________________________________ > enlightenment-svn mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/enlightenment-svn > ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
