[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    [RFC][PATCH 1/1] procps/nmeter.c: change (type*)0 to NULL
From:       Maninder Singh <maninder1.s () samsung ! com>
Date:       2015-06-10 9:49:48
Message-ID: 152096312.824141433929788208.JavaMail.weblogic () epmlwas05b
[Download RAW message or body]

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

Signed-off-by: Maninder Singh <maninder1.s@samsung.com>
Reviewed-by: Akhilesh Kumar <akhilesh.k@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
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic