diff options
author | sbruno <sbruno@FreeBSD.org> | 2013-11-04 21:32:07 +0000 |
---|---|---|
committer | sbruno <sbruno@FreeBSD.org> | 2013-11-04 21:32:07 +0000 |
commit | 3d7ba62a0b4845b99caad9ee1a5ae91d1d870d36 (patch) | |
tree | 39ac798129f3d5423204c6d062eb546603f5c3d0 /cddl | |
parent | a40d5aa0d85e6dfc92371b1b4148e2257b3a845a (diff) | |
download | FreeBSD-src-3d7ba62a0b4845b99caad9ee1a5ae91d1d870d36.zip FreeBSD-src-3d7ba62a0b4845b99caad9ee1a5ae91d1d870d36.tar.gz |
Quiesce warning assigning to void * from const ctf_header_t * by explicity casting
to void * before assignment.
Submitted as Illumos issue 4287
Diffstat (limited to 'cddl')
-rw-r--r-- | cddl/contrib/opensolaris/common/ctf/ctf_create.c | 2 |
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 239d166..7364814 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; |