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:
parent
b27269497a
commit
09d325677d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user