From a8f35f1bf8f35712972001e12fe593f0b86ce58a Mon Sep 17 00:00:00 2001 From: baldurk Date: Mon, 27 Aug 2018 17:31:41 +0100 Subject: [PATCH] Linux compile fix --- renderdoc/replay/replay_driver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/renderdoc/replay/replay_driver.cpp b/renderdoc/replay/replay_driver.cpp index cb31df4a3..572ad9823 100644 --- a/renderdoc/replay/replay_driver.cpp +++ b/renderdoc/replay/replay_driver.cpp @@ -216,7 +216,7 @@ uint64_t CalcMeshOutputSize(uint64_t curSize, uint64_t requiredOutput) // after that, just align the required size up to 16MB and allocate that. Otherwise we can // vastly-overallocate at large sizes. if(curSize < requiredOutput) - curSize = AlignUp(requiredOutput, 0x1000000ULL); + curSize = AlignUp(requiredOutput, (uint64_t)0x1000000ULL); return curSize; }