From 0b0c23ff130f7445cd5cfd61bc7c8c3796d2484d Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Mon, 15 Oct 2007 07:59:13 +0000 Subject: Fix some plugins that use NULL instead of -1 when not using a voice id in struct opt_items. Change as many '#define NULL 0' to '#define NULL ((void*)0)' as grep would find - somewehere the former is still hiding it seems. :\ git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15117 a1c6a512-1295-4272-9138-f99709370657 --- firmware/include/stdlib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware/include/stdlib.h') diff --git a/firmware/include/stdlib.h b/firmware/include/stdlib.h index 0074fe65e5..1f4fb88668 100644 --- a/firmware/include/stdlib.h +++ b/firmware/include/stdlib.h @@ -17,7 +17,7 @@ extern "C" { #include #ifndef NULL -#define NULL 0 +#define NULL ((void*)0) #endif #define EXIT_FAILURE 1 -- cgit v1.2.3