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:
Sean Bruno 2013-11-04 21:32:07 +00:00
parent b27269497a
commit 09d325677d

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;