From 7488832c7e360df22226f4b873401b6fd0e42838 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 7 May 2002 12:34:45 +0000 Subject: [PATCH] NULL is not defined when this compiles on Linux, let's avoid that for now but we should fix it later git-svn-id: svn://svn.rockbox.org/rockbox/trunk@494 a1c6a512-1295-4272-9138-f99709370657 --- uisimulator/x11/io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uisimulator/x11/io.c b/uisimulator/x11/io.c index 53cee8d086..1e2ebd76c0 100644 --- a/uisimulator/x11/io.c +++ b/uisimulator/x11/io.c @@ -41,7 +41,7 @@ struct x11_dirent *x11_readdir(MYDIR *dir) struct dirent *x11 = (readdir)(dir->dir); if(!x11) - return NULL; + return (struct x11_dirent *)0; strcpy(secret.d_name, x11->d_name);