Date: Mon, 9 Feb 2015 07:45:47 +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-9@freebsd.org Subject: svn commit: r278435 - in stable: 10/sys/fs/smbfs 9/sys/fs/smbfs Message-ID: <201502090745.t197jlLL081212@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dim Date: Mon Feb 9 07:45:46 2015 New Revision: 278435 URL: https://svnweb.freebsd.org/changeset/base/278435 Log: MFC r277953: Fix a -Wcast-qual warning in smbfs_subr.c, by using __DECONST. No functional change. Modified: stable/9/sys/fs/smbfs/smbfs_subr.c Directory Properties: stable/9/sys/ (props changed) Changes in other areas also in this revision: Modified: stable/10/sys/fs/smbfs/smbfs_subr.c Directory Properties: stable/10/ (props changed) Modified: stable/9/sys/fs/smbfs/smbfs_subr.c ============================================================================== --- stable/9/sys/fs/smbfs/smbfs_subr.c Mon Feb 9 07:08:54 2015 (r278434) +++ stable/9/sys/fs/smbfs/smbfs_subr.c Mon Feb 9 07:45:46 2015 (r278435) @@ -202,8 +202,8 @@ smbfs_fname_tolocal(struct smb_vc *vcp, if (error) return error; */ - error = iconv_conv_case - (vcp->vc_tolocal, (const char **)&ibuf, &ilen, &obuf, &olen, copt); + error = iconv_conv_case(vcp->vc_tolocal, + __DECONST(const char **, &ibuf), &ilen, &obuf, &olen, copt); if (error && SMB_UNICODE_STRINGS(vcp)) { /* * If using unicode, leaving a file name as it was when
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201502090745.t197jlLL081212>