[RFC][PATCH 1/1] procps/nmeter.c: change (type*)0 to NULL

Maninder Singh maninder1.s at samsung.com
Wed Jun 10 09:49:48 UTC 2015


Use NULL instead of (type*)0 as in init_delay

Signed-off-by: Maninder Singh <maninder1.s at samsung.com>
Reviewed-by: Akhilesh Kumar <akhilesh.k at samsung.com>
---
 procps/nmeter.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/procps/nmeter.c b/procps/nmeter.c
index 5d5b83b..c45864a 100644
--- a/procps/nmeter.c
+++ b/procps/nmeter.c
@@ -370,7 +370,7 @@ static s_stat* init_delay(const char *param)
 static s_stat* init_cr(const char *param UNUSED_PARAM)
 {
 	final_str = "\r";
-	return (s_stat*)0;
+	return NULL;
 }
 
 
-- 
1.7.1


More information about the busybox mailing list