Enlightenment CVS committal
Author : pfritz
Project : e17
Module : libs/ewl
Dir : e17/libs/ewl/src/lib
Modified Files:
ewl_callback.c
Log Message:
use ecore_direct_hash() instead of a cast
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_callback.c,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -3 -r1.41 -r1.42
--- ewl_callback.c 7 May 2008 13:38:23 -0000 1.41
+++ ewl_callback.c 17 Jul 2008 23:00:42 -0000 1.42
@@ -725,8 +725,8 @@
cb = EWL_CALLBACK(key);
- DRETURN_INT((unsigned int) (cb->func) ^
- (unsigned int) (cb->user_data), DLEVEL_STABLE);
+ DRETURN_INT(ecore_direct_hash(cb->func)
+ ^ ecore_direct_hash(cb->user_data), DLEVEL_STABLE);
}
/*
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs