diff options
author | Kim Woelders <kim@woelders.dk> | 2008-08-13 17:56:08 +0000 |
---|---|---|
committer | Kim Woelders <kim@woelders.dk> | 2008-08-13 17:56:08 +0000 |
commit | 7c8d8a5b1e55e9ddc8a93209577af458b73fb715 (patch) | |
tree | 3e26888df57ac39994a595242e6e67eefd9ae186 | |
parent | cd929604a1e1aa2137cc56c44030ed70d06e0525 (diff) | |
download | imlib2-7c8d8a5b1e55e9ddc8a93209577af458b73fb715.tar.gz |
Return value is not a pointer.
SVN revision: 35464
-rw-r--r-- | src/modules/loaders/loader_xpm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/loaders/loader_xpm.c b/src/modules/loaders/loader_xpm.c index 978e62e..e363079 100644 --- a/src/modules/loaders/loader_xpm.c +++ b/src/modules/loaders/loader_xpm.c @@ -154,7 +154,7 @@ load(ImlibImage * im, ImlibProgressFunction progress, char progress_granularity, count = 0; line = malloc(lsz); if (!line) - return NULL; + return 0; backslash = 0; memset(lookup, 0, sizeof(lookup)); |