Enlightenment CVS committal
Author : handyande
Project : e17
Module : libs/ecore
Dir : e17/libs/ecore/src/lib/ecore_config
Modified Files:
ecore_config.c
Log Message:
After the comments (back in april, sorry) I think this is the optimal fix that
Dylan Shell was trying to get to, thanks Bryan Kadzban for the idea
Please correct me if this is not right
===================================================================
RCS file:
/cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore_config/ecore_config.c,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -3 -r1.64 -r1.65
--- ecore_config.c 4 Nov 2005 07:54:25 -0000 1.64
+++ ecore_config.c 29 Nov 2005 23:06:59 -0000 1.65
@@ -503,7 +503,7 @@
{
if (((char *)val)[0] == '#')
{
- if ((v = strtol(&((char *)val)[1], &l, 16)) < 0)
+ if ((v = (long) strtoul(&((char *)val)[1], &l, 16)) < 0)
{
v = 0;
E(0,
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs