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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=257657
@ -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