Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/audio/record Don't set an int to NULL.



details:   https://anonhg.NetBSD.org/src/rev/7fa23641b57a
branches:  trunk
changeset: 553747:7fa23641b57a
user:      fvdl <fvdl%NetBSD.org@localhost>
date:      Tue Oct 21 02:15:00 2003 +0000

description:
Don't set an int to NULL.

diffstat:

 usr.bin/audio/record/record.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r a56012ec17fd -r 7fa23641b57a usr.bin/audio/record/record.c
--- a/usr.bin/audio/record/record.c     Tue Oct 21 02:14:30 2003 +0000
+++ b/usr.bin/audio/record/record.c     Tue Oct 21 02:15:00 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: record.c,v 1.35 2003/08/07 10:04:21 wiz Exp $  */
+/*     $NetBSD: record.c,v 1.36 2003/10/21 02:15:00 fvdl Exp $ */
 
 /*
  * Copyright (c) 1999, 2002 Matthew R. Green
@@ -34,7 +34,7 @@
 #include <sys/cdefs.h>
 
 #ifndef lint
-__RCSID("$NetBSD: record.c,v 1.35 2003/08/07 10:04:21 wiz Exp $");
+__RCSID("$NetBSD: record.c,v 1.36 2003/10/21 02:15:00 fvdl Exp $");
 #endif
 
 
@@ -516,7 +516,7 @@
 
        if (header_info)
                warnx("header information not supported for WAV");
-       *leftp = NULL;
+       *leftp = 0;
 
        switch (precision) {
        case 8:



Home | Main Index | Thread Index | Old Index