Skip to content

Commit c7858d9

Browse files
committed
uint64_t instead of DWORD64 for linux build
1 parent 5700543 commit c7858d9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/dxc/Test/HlslTestUtils.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,7 @@ inline bool CompareDoubleULP(
547547

548548
// For FTZ or Preserve mode, we should get the expected number within
549549
// ULPTolerance for any operations.
550-
int64_t diff = *((const DWORD64 *)&fsrc) - *((const DWORD64 *)&fref);
550+
int64_t diff = *((const uint64_t *)&fsrc) - *((const uint64_t *)&fref);
551551

552552
int64_t uDiff = diff < 0 ? -diff : diff;
553553
return uDiff <= (unsigned int)ULPTolerance;

0 commit comments

Comments
 (0)