Quiesce warning assigning to void * from const ctf_header_t * by explicity casting

to void * before assignment.

Submitted as Illumos issue 4287
This commit is contained in:
sbruno 2013-11-04 21:32:07 +00:00
parent a40d5aa0d8
commit 3d7ba62a0b

View File

@ -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;