On 26/01/12 13:10, Gustavo Sverzut Barbieri wrote:
> It is needed for 64 bits where sizeof(void*)>  sizeof(int)
>
> Don't do these changes without asking anymore :-/
>
> On Thursday, January 26, 2012, Enlightenment SVN<[email protected]>
> wrote:
>> Log:
>> elementary/genlist - deprecated elm_genlist_item_data_set/get
>>
>>   but please use elm_object_item_data_set/get instead.
>>
>>
>>   and what was purpose of this double casting?
>>
>>   (int)(long) elm_genlist_item_data_get(gli);
>>
>>   these calls are used in some places.
>>
>>   I removed the (long) casting because it looks useless.
>>


Gustavo,

(int) (long) sounds bad, a better solution would be using intptr_t, 
don't you agree?

So the code is indeed bad and it (int) (long) is just a hack that should 
have been removed anyway...

--
Tom.


------------------------------------------------------------------------------
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

Reply via email to