From 2bee374f9ad3367948d472f4e3489135fcac9e1c Mon Sep 17 00:00:00 2001 From: Toomas Soome Date: Wed, 5 Jul 2017 08:35:07 +0300 Subject: [PATCH] 8464 audioconvert: cannot convert 'std::nullptr_t' to 'char' in assignment Reviewed by: Peter Tribble Reviewed by: Jason King Reviewed by: Yuri Pankov Approved by: Dan McDonald --- usr/src/cmd/audio/audioconvert/parse.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/usr/src/cmd/audio/audioconvert/parse.cc b/usr/src/cmd/audio/audioconvert/parse.cc index b5901b19f4..0294b77050 100644 --- a/usr/src/cmd/audio/audioconvert/parse.cc +++ b/usr/src/cmd/audio/audioconvert/parse.cc @@ -24,8 +24,6 @@ * All rights reserved. */ -#pragma ident "%Z%%M% %I% %E% SMI" - #include #include #include @@ -173,7 +171,7 @@ parse_format( // If so, left side is keyword, right side is value. // If not, entire string is value. if (cp2 = strchr(cp, '=')) { - *cp2++ = NULL; + *cp2++ = '\0'; key = cp; val = cp2; -- 2.11.4.GIT