Changeset 20885
- Timestamp:
- 10/29/07 14:09:37 (1 year ago)
- Files:
-
- juggler/trunk/modules/vapor/vpr/Util/Interval.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
juggler/trunk/modules/vapor/vpr/Util/Interval.h
r19729 r20885 349 349 { 350 350 #ifdef VPR_OS_Windows 351 return ((vpr::Int64) mMicroSeconds); 351 // Using static_cast here silences a compiler warning. 352 return static_cast<float>(static_cast<vpr::Int64>(mMicroSeconds)); 352 353 #else 353 return (mMicroSeconds);354 return mMicroSeconds; 354 355 #endif 355 356 } … … 371 372 { 372 373 #ifdef VPR_OS_Windows 373 return ((vpr::Int64) mMicroSeconds); 374 // Using static_cast here silences a compiler warning. 375 return static_cast<double>(static_cast<vpr::Int64>(mMicroSeconds)); 374 376 #else 375 return (mMicroSeconds);377 return mMicroSeconds; 376 378 #endif 377 379 }
