Enlightenment CVS committal

Author  : kwo
Project : e17
Module  : libs/imlib2

Dir     : e17/libs/imlib2/src/modules/loaders


Modified Files:
        loader_xpm.c 


Log Message:
Return value is not a pointer.

===================================================================
RCS file: /cvs/e/e17/libs/imlib2/src/modules/loaders/loader_xpm.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -3 -r1.11 -r1.12
--- loader_xpm.c        18 Jun 2008 17:52:38 -0000      1.11
+++ loader_xpm.c        13 Aug 2008 17:56:08 -0000      1.12
@@ -154,7 +154,7 @@
    count = 0;
    line = malloc(lsz);
    if (!line)
-     return NULL;
+     return 0;
 
    backslash = 0;
    memset(lookup, 0, sizeof(lookup));



-------------------------------------------------------------------------
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
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to