Changeset 66464 in vbox for trunk/src/VBox/ValidationKit/bootsectors/bs3kit
- Timestamp:
- Apr 6, 2017 7:22:01 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-cmn-StrFormatV.c
r62484 r66464 215 215 #if ARCH_BITS != 64 216 216 /* Avoid 64-bit division by formatting 64-bit numbers as hex if they're higher than _4G. */ 217 if ( pState->uBase == 10 218 && !(uValue >> 32)) /* uValue <= UINT32_MAX does not work, trouble with 64-bit compile time math! */ 219 return bs3StrFormatU32(pState, uValue); 220 pState->fFlags |= STR_F_SPECIAL; 221 pState->uBase = 16; 217 if (pState->uBase == 10) 218 { 219 if (!(uValue >> 32)) /* uValue <= UINT32_MAX does not work, trouble with 64-bit compile time math! */ 220 return bs3StrFormatU32(pState, uValue); 221 pState->fFlags |= STR_F_SPECIAL; 222 pState->uBase = 16; 223 } 222 224 #endif 223 225
Note:
See TracChangeset
for help on using the changeset viewer.