Date: Tue, 23 Jan 2018 22:59:21 +0000 (UTC) From: Jung-uk Kim <jkim@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r459803 - head/java/icedtea-web/files Message-ID: <201801232259.w0NMxL3k006926@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jkim Date: Tue Jan 23 22:59:21 2018 New Revision: 459803 URL: https://svnweb.freebsd.org/changeset/ports/459803 Log: Fix build with Clang 6.0. Added: head/java/icedtea-web/files/patch-plugin_icedteanp_IcedTeaPluginUtils.cc (contents, props changed) Added: head/java/icedtea-web/files/patch-plugin_icedteanp_IcedTeaPluginUtils.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/java/icedtea-web/files/patch-plugin_icedteanp_IcedTeaPluginUtils.cc Tue Jan 23 22:59:21 2018 (r459803) @@ -0,0 +1,11 @@ +--- plugin/icedteanp/IcedTeaPluginUtils.cc.orig 2016-02-03 13:47:43 UTC ++++ plugin/icedteanp/IcedTeaPluginUtils.cc +@@ -1017,7 +1017,7 @@ NPString IcedTeaPluginUtilities::NPStringCopy(const st + char* utf8 = (char*)browser_functions.memalloc(result.size() + 1); + strncpy(utf8, result.c_str(), result.size() + 1); + +- NPString npstr = {utf8, result.size()}; ++ NPString npstr = {utf8, (uint32_t)result.size()}; + return npstr; + } +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801232259.w0NMxL3k006926>