From owner-svn-ports-all@freebsd.org Sat Aug 25 04:04:02 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1FF32109FA14; Sat, 25 Aug 2018 04:04:02 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C7D578646D; Sat, 25 Aug 2018 04:04:01 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id A92AF1AC1A; Sat, 25 Aug 2018 04:04:01 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w7P441jr016489; Sat, 25 Aug 2018 04:04:01 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w7P4419e016488; Sat, 25 Aug 2018 04:04:01 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201808250404.w7P4419e016488@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Sat, 25 Aug 2018 04:04:01 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r477999 - head/cad/qmls/files X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: head/cad/qmls/files X-SVN-Commit-Revision: 477999 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Aug 2018 04:04:02 -0000 Author: tobik Date: Sat Aug 25 04:04:01 2018 New Revision: 477999 URL: https://svnweb.freebsd.org/changeset/ports/477999 Log: cad/qmls: Fix build with Clang 6 cdl.cpp:128:24: error: cast from pointer to smaller type 'char' loses information buf[index] = (char)NULL; ^~~~~~~~~~ http://beefy11.nyi.freebsd.org/data/head-i386-default/p477696_s338122/logs/errors/qmls-0.2.log Added: head/cad/qmls/files/patch-qmls_cdl.cpp (contents, props changed) Added: head/cad/qmls/files/patch-qmls_cdl.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/cad/qmls/files/patch-qmls_cdl.cpp Sat Aug 25 04:04:01 2018 (r477999) @@ -0,0 +1,36 @@ +--- qmls/cdl.cpp.orig 2018-08-25 04:01:56 UTC ++++ qmls/cdl.cpp +@@ -125,7 +125,7 @@ istream& operator>>(istream& ins, CanonicalDecimalList + case ',': + if (index != 0) + { +- buf[index] = (char)NULL; ++ buf[index] = '\0'; + str = buf; + inputStack.Push(str); + index = 0; +@@ -175,7 +175,7 @@ istream& operator>>(istream& ins, CanonicalDecimalList + case ',': + if (index != 0) + { +- buf[index] = (char)NULL; ++ buf[index] = '\0'; + careStack.Push(atoi(buf)); + index = 0; + } +@@ -226,7 +226,7 @@ istream& operator>>(istream& ins, CanonicalDecimalList + case ',': + if (index != 0) + { +- buf[index] = (char)NULL; ++ buf[index] = '\0'; + dontCareStack.Push(atoi(buf)); + index = 0; + } +@@ -295,4 +295,4 @@ bool GetAlphaNumeric(istream& ins, char& ch) + return true; + } + return false; +-} +\ No newline at end of file ++}