Changeset 66829 in vbox for trunk/src/VBox/ExtPacks/VBoxDTrace/onnv/lib/libdtrace
- Timestamp:
- May 8, 2017 4:54:59 PM (8 years ago)
- Location:
- trunk/src/VBox/ExtPacks/VBoxDTrace/onnv/lib/libdtrace/common
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ExtPacks/VBoxDTrace/onnv/lib/libdtrace/common/dt_aggregate.c
r63129 r66829 67 67 dt_aggregate_count(int64_t *existing, int64_t *new, size_t size) 68 68 { 69 inti;69 VBDTTYPE(size_t,int) i; 70 70 71 71 for (i = 0; i < size / sizeof (int64_t); i++) … … 1708 1708 bundle = (dt_ahashent_t ***)sorted; 1709 1709 1710 for (i = 1, start = 0; i <= nentries; i++) {1711 if ( i < nentries &&1710 for (i = 1, start = 0; (size_t/*vbox*/)i <= nentries; i++) { 1711 if ((size_t/*vbox*/)i < nentries && 1712 1712 dt_aggregate_keycmp(&sorted[i], &sorted[i - 1]) == 0) 1713 1713 continue; … … 1717 1717 * (i - 1) belongs in one bundle. 1718 1718 */ 1719 assert( i - start <=naggvars);1719 assert((size_t/*vbox*/)i - start <= (size_t/*vbox*/)naggvars); 1720 1720 bundlesize = (naggvars + 2) * sizeof (dt_ahashent_t *); 1721 1721 … … 1787 1787 data = alloca((naggvars + 1) * sizeof (dtrace_aggdata_t *)); 1788 1788 1789 for (i = 0; i < nbundles; i++) {1789 for (i = 0; (size_t/*vbox*/)i < nbundles; i++) { 1790 1790 for (j = 0; j < naggvars; j++) 1791 1791 data[j + 1] = NULL; … … 1818 1818 rval = 0; 1819 1819 out: 1820 for (i = 0; i < nbundles; i++)1820 for (i = 0; (size_t/*vbox*/)i < nbundles; i++) 1821 1821 dt_free(dtp, bundle[i]); 1822 1822 -
trunk/src/VBox/ExtPacks/VBoxDTrace/onnv/lib/libdtrace/common/dt_cc.c
r63459 r66829 1282 1282 */ 1283 1283 int obaseval = DTRACE_LQUANTIZE_BASE(oarg); 1284 intonlevels = DTRACE_LQUANTIZE_LEVELS(oarg);1285 intostep = DTRACE_LQUANTIZE_STEP(oarg);1284 VBDTTYPE(unsigned,int) onlevels = DTRACE_LQUANTIZE_LEVELS(oarg); 1285 VBDTTYPE(unsigned,int) ostep = DTRACE_LQUANTIZE_STEP(oarg); 1286 1286 1287 1287 if (obaseval != baseval) { -
trunk/src/VBox/ExtPacks/VBoxDTrace/onnv/lib/libdtrace/common/dt_consume.c
r63436 r66829 316 316 uint64_t next_try[2]; 317 317 uint64_t bit_pairs, pair_shift; 318 inti;318 VBDTTYPE(uint64_t,int) i; 319 319 320 320 bit_pairs = dt_nbits_128(square) / 2; -
trunk/src/VBox/ExtPacks/VBoxDTrace/onnv/lib/libdtrace/common/dt_ident.c
r62829 r66829 353 353 } 354 354 355 if (ap->dn_value >= prp->pr_argc) {355 if (ap->dn_value >= VBDTCAST(uintmax_t)prp->pr_argc) { 356 356 xyerror(D_ARGS_IDX, "index %lld is out of range for %s %s[ ]\n", 357 357 (longlong_t)ap->dn_value, dtrace_desc2str(yypcb->pcb_pdesc,
Note:
See TracChangeset
for help on using the changeset viewer.