Changeset 62808 in vbox for trunk/src/VBox
- Timestamp:
- Aug 1, 2016 12:05:40 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/GuestHost/OpenGL/packer/pack_client.c
r52887 r62808 36 36 { 37 37 Assert(((uintptr_t)p) < array->a[attr].buffer->size); 38 p = (unsigned char *)(array->a[attr].buffer->data) + (u nsigned long)p;38 p = (unsigned char *)(array->a[attr].buffer->data) + (uintptr_t)p; 39 39 } 40 40 #endif … … 319 319 if (array->n.buffer && array->n.buffer->data) 320 320 { 321 p = (unsigned char *)(array->n.buffer->data) + (u nsigned long)p;321 p = (unsigned char *)(array->n.buffer->data) + (uintptr_t)p; 322 322 } 323 323 #endif … … 342 342 if (array->c.buffer && array->c.buffer->data) 343 343 { 344 p = (unsigned char *)(array->c.buffer->data) + (u nsigned long)p;344 p = (unsigned char *)(array->c.buffer->data) + (uintptr_t)p; 345 345 } 346 346 #endif … … 417 417 if (array->s.buffer && array->s.buffer->data) 418 418 { 419 p = (unsigned char *)(array->s.buffer->data) + (u nsigned long)p;419 p = (unsigned char *)(array->s.buffer->data) + (uintptr_t)p; 420 420 } 421 421 #endif … … 454 454 if (array->f.buffer && array->f.buffer->data) 455 455 { 456 p = (unsigned char *)(array->f.buffer->data) + (u nsigned long)p;456 p = (unsigned char *)(array->f.buffer->data) + (uintptr_t)p; 457 457 } 458 458 #endif … … 470 470 if (array->t[unit].buffer && array->t[unit].buffer->data) 471 471 { 472 p = (unsigned char *)(array->t[unit].buffer->data) + (u nsigned long)p;472 p = (unsigned char *)(array->t[unit].buffer->data) + (uintptr_t)p; 473 473 } 474 474 #endif … … 525 525 if (array->i.buffer && array->i.buffer->data) 526 526 { 527 p = (unsigned char *)(array->i.buffer->data) + (u nsigned long)p;527 p = (unsigned char *)(array->i.buffer->data) + (uintptr_t)p; 528 528 } 529 529 #endif … … 547 547 if (array->e.buffer && array->e.buffer->data) 548 548 { 549 p = (unsigned char *)(array->e.buffer->data) + (u nsigned long)p;549 p = (unsigned char *)(array->e.buffer->data) + (uintptr_t)p; 550 550 } 551 551 #endif … … 577 577 if (array->v.buffer && array->v.buffer->data) 578 578 { 579 p = (unsigned char *)(array->v.buffer->data) + (u nsigned long)p;579 p = (unsigned char *)(array->v.buffer->data) + (uintptr_t)p; 580 580 } 581 581 #endif … … 796 796 if (elementsBuffer && elementsBuffer->data) 797 797 { 798 p = (unsigned char *)(elementsBuffer->data) + (u nsigned long)p;798 p = (unsigned char *)(elementsBuffer->data) + (uintptr_t)p; 799 799 } 800 800 #endif
Note:
See TracChangeset
for help on using the changeset viewer.