Date: Tue, 3 Feb 2015 08:03:21 +0000 (UTC) From: Dimitry Andric <dim@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r278141 - in stable: 10/sys/fs/udf 9/sys/fs/udf Message-ID: <201502030803.t1383LUm099170@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dim Date: Tue Feb 3 08:03:19 2015 New Revision: 278141 URL: https://svnweb.freebsd.org/changeset/base/278141 Log: MFC r277952: Fix a -Wcast-qual warning in udf_vnops.c, by using __DECONST. No functional change. Modified: stable/10/sys/fs/udf/udf_vnops.c Directory Properties: stable/10/ (props changed) Changes in other areas also in this revision: Modified: stable/9/sys/fs/udf/udf_vnops.c Directory Properties: stable/9/sys/ (props changed) Modified: stable/10/sys/fs/udf/udf_vnops.c ============================================================================== --- stable/10/sys/fs/udf/udf_vnops.c Tue Feb 3 07:59:33 2015 (r278140) +++ stable/10/sys/fs/udf/udf_vnops.c Tue Feb 3 08:03:19 2015 (r278141) @@ -526,8 +526,9 @@ udf_transname(char *cs0string, char *des } while (unilen > 0 && destleft > 0) { - udf_iconv->conv(udfmp->im_d2l, (const char **)&unibuf, - (size_t *)&unilen, (char **)&destname, &destleft); + udf_iconv->conv(udfmp->im_d2l, __DECONST(const char **, + &unibuf), (size_t *)&unilen, (char **)&destname, + &destleft); /* Unconverted character found */ if (unilen > 0 && destleft > 0) { *destname++ = '?';
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201502030803.t1383LUm099170>