aboutsummaryrefslogtreecommitdiff
path: root/cddl/contrib/opensolaris/common
diff options
context:
space:
mode:
authorSean Bruno <sbruno@FreeBSD.org>2013-11-04 21:32:07 +0000
committerSean Bruno <sbruno@FreeBSD.org>2013-11-04 21:32:07 +0000
commit09d325677d53a12c79a43664ff29871e92247629 (patch)
tree39ac798129f3d5423204c6d062eb546603f5c3d0 /cddl/contrib/opensolaris/common
parentb27269497ac3b1dcd2785e3f4fb29f2567c73bbe (diff)
downloadsrc-09d325677d53a12c79a43664ff29871e92247629.tar.gz
src-09d325677d53a12c79a43664ff29871e92247629.zip
Quiesce warning assigning to void * from const ctf_header_t * by explicity casting
to void * before assignment. Submitted as Illumos issue 4287
Notes
Notes: svn path=/head/; revision=257657
Diffstat (limited to 'cddl/contrib/opensolaris/common')
-rw-r--r--cddl/contrib/opensolaris/common/ctf/ctf_create.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cddl/contrib/opensolaris/common/ctf/ctf_create.c b/cddl/contrib/opensolaris/common/ctf/ctf_create.c
index 239d166f4412..736481482751 100644
--- a/cddl/contrib/opensolaris/common/ctf/ctf_create.c
+++ b/cddl/contrib/opensolaris/common/ctf/ctf_create.c
@@ -65,7 +65,7 @@ ctf_create(int *errp)
cts.cts_name = _CTF_SECTION;
cts.cts_type = SHT_PROGBITS;
cts.cts_flags = 0;
- cts.cts_data = &hdr;
+ cts.cts_data = (void *)&hdr;
cts.cts_size = sizeof (hdr);
cts.cts_entsize = 1;
cts.cts_offset = 0;