VirtualBox

Ignore:
Timestamp:
Dec 5, 2011 4:50:49 PM (13 years ago)
Author:
vboxsync
Message:

wddm: ~0UL -> UINT32_MAX

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/common/wddm/VBoxMPIf.h

    r39536 r39537  
    876876}
    877877
    878 #define VBOXWDDM_ARRAY_MAXELEMENTSU32(_t) ((uint32_t)((~(0UL)) / sizeof (_t)))
     878#define VBOXWDDM_ARRAY_MAXELEMENTSU32(_t) ((uint32_t)((UINT32_MAX) / sizeof (_t)))
    879879#define VBOXWDDM_TRAILARRAY_MAXELEMENTSU32(_t, _af) ((uint32_t)(((~(0UL)) - (uint32_t)RT_OFFSETOF(_t, _af[0])) / RT_SIZEOFMEMB(_t, _af[0])))
    880880
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