We may need to use (size_t) data types.
If there are no definitions of the above things, then our configuration can 
define them based on the CPU architecture.
------------------------------------
-Regards, Hermet-
 
-----Original Message-----
From: "Daniel Juyung Seo"<seojuyu...@gmail.com> 
To: enlightenment-devel@lists.sourceforge.net
Cc: enlightenment-...@lists.sourceforge.net
Sent: 12-02-21(화) 10:56:54
Subject: Re: [E-devel] E SVN: tasn trunk/elementary/src/lib
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 <
no-re...@enlightenment.org> 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
> enlightenment-...@lists.sourceforge.net
> 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
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
------------------------------------------------------------------------------
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
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to