Changeset 63129 in vbox for trunk/src/VBox/ExtPacks/VBoxDTrace/onnv/common
- Timestamp:
- Aug 7, 2016 1:13:28 PM (8 years ago)
- Location:
- trunk/src/VBox/ExtPacks/VBoxDTrace/onnv/common/ctf
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ExtPacks/VBoxDTrace/onnv/common/ctf/ctf_create.c
r62829 r63129 513 513 514 514 for (dtd = ctf_list_next(&fp->ctf_dtdefs); dtd != NULL; dtd = ntd) { 515 if (dtd->dtd_type <= fp->ctf_dtoldid)515 if (dtd->dtd_type <= (intptr_t /*vbox*/)fp->ctf_dtoldid) 516 516 continue; /* skip types that have been committed */ 517 517 … … 1165 1165 if (dst_type == CTF_ERR && name[0] != '\0') { 1166 1166 for (dtd = ctf_list_prev(&dst_fp->ctf_dtdefs); dtd != NULL && 1167 dtd->dtd_type > dst_fp->ctf_dtoldid;1167 dtd->dtd_type > (intptr_t /*vbox*/)dst_fp->ctf_dtoldid; 1168 1168 dtd = ctf_list_prev(dtd)) { 1169 1169 if ((uint_t)CTF_INFO_KIND(dtd->dtd_data.ctt_info) == kind && -
trunk/src/VBox/ExtPacks/VBoxDTrace/onnv/common/ctf/ctf_lookup.c
r58990 r63129 234 234 235 235 type = CTF_TYPE_TO_INDEX(type); 236 if (type > 0 && type <= fp->ctf_typemax) {236 if (type > 0 && type <= (intptr_t/*vbox*/)fp->ctf_typemax) { 237 237 *fpp = fp; /* function returns ending CTF container */ 238 238 return (LCTF_INDEX_TO_TYPEPTR(fp, type)); -
trunk/src/VBox/ExtPacks/VBoxDTrace/onnv/common/ctf/ctf_open.c
r53657 r63129 491 491 */ 492 492 if (CTF_TYPE_ISCHILD(tp->ctt_type) == child && 493 CTF_TYPE_TO_INDEX(tp->ctt_type) <= fp->ctf_typemax)493 CTF_TYPE_TO_INDEX(tp->ctt_type) <= (intptr_t/*vbox*/)fp->ctf_typemax) 494 494 fp->ctf_ptrtab[ 495 495 CTF_TYPE_TO_INDEX(tp->ctt_type)] = id; … … 536 536 strcmp(ctf_strptr(fp, tp->ctt_name), "") == 0 && 537 537 CTF_TYPE_ISCHILD(tp->ctt_type) == child && 538 CTF_TYPE_TO_INDEX(tp->ctt_type) <= fp->ctf_typemax)538 CTF_TYPE_TO_INDEX(tp->ctt_type) <= (intptr_t /*vbox*/)fp->ctf_typemax) 539 539 fp->ctf_ptrtab[ 540 540 CTF_TYPE_TO_INDEX(tp->ctt_type)] = dst;
Note:
See TracChangeset
for help on using the changeset viewer.