VirtualBox

Ignore:
Timestamp:
Sep 29, 2014 2:09:36 PM (10 years ago)
Author:
vboxsync
Message:

GuestHost/OpenGL: warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/GuestHost/OpenGL/packer/pack_client.c

    r51313 r52887  
    3535    if (array->a[attr].buffer && array->a[attr].buffer->data)
    3636    {
    37         Assert(((GLuint)p) < array->a[attr].buffer->size);
    38         Assert(((GLint)p) >= 0);
     37        Assert(((uintptr_t)p) < array->a[attr].buffer->size);
    3938        p = (unsigned char *)(array->a[attr].buffer->data) + (unsigned long)p;
    4039    }
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette