Changeset 44454 in vbox for trunk/src/VBox/Additions/x11/vboxvideo
- Timestamp:
- Jan 30, 2013 10:56:50 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/vboxvideo/vboxvideo.h
r43270 r44454 55 55 #include <VBox/VBoxVideoGuest.h> 56 56 #include <VBox/VBoxVideo.h> 57 #include <iprt/asm.math.h> 57 58 58 59 #ifdef DEBUG … … 265 266 static inline int32_t vboxDisplayPitch(ScrnInfoPtr pScrn, int32_t cbLine) 266 267 { 267 return (int32_t)((uint64_t)cbLine * 8 / vboxBPP(pScrn)); 268 /* take care to reference __udivdi3! */ 269 return ASMDivU64ByU32RetU32((uint64_t)cbLine * 8, vboxBPP(pScrn)); 268 270 } 269 271
Note:
See TracChangeset
for help on using the changeset viewer.