Module Name:    src
Committed By:   christos
Date:           Sun Jan 13 15:46:58 UTC 2013

Modified Files:
        src/lib/libedit: readline.c

Log Message:
explicitly pass (void *)0 instead of NULL.


To generate a diff of this commit:
cvs rdiff -u -r1.106 -r1.107 src/lib/libedit/readline.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libedit/readline.c
diff -u src/lib/libedit/readline.c:1.106 src/lib/libedit/readline.c:1.107
--- src/lib/libedit/readline.c:1.106	Fri Oct 12 19:35:02 2012
+++ src/lib/libedit/readline.c	Sun Jan 13 10:46:57 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: readline.c,v 1.106 2012/10/12 23:35:02 christos Exp $	*/
+/*	$NetBSD: readline.c,v 1.107 2013/01/13 15:46:57 christos Exp $	*/
 
 /*-
  * Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
 
 #include "config.h"
 #if !defined(lint) && !defined(SCCSID)
-__RCSID("$NetBSD: readline.c,v 1.106 2012/10/12 23:35:02 christos Exp $");
+__RCSID("$NetBSD: readline.c,v 1.107 2013/01/13 15:46:57 christos Exp $");
 #endif /* not lint && not SCCSID */
 
 #include <sys/types.h>
@@ -2104,9 +2104,9 @@ void
 rl_get_screen_size(int *rows, int *cols)
 {
 	if (rows)
-		el_get(e, EL_GETTC, "li", rows, NULL);
+		el_get(e, EL_GETTC, "li", rows, (void *)0);
 	if (cols)
-		el_get(e, EL_GETTC, "co", cols, NULL);
+		el_get(e, EL_GETTC, "co", cols, (void *)0);
 }
 
 void

Reply via email to