diff options
author | Lioncash <[email protected]> | 2019-04-05 18:37:34 -0400 |
---|---|---|
committer | Lioncash <[email protected]> | 2019-04-05 18:37:37 -0400 |
commit | 30ce9b2b5cd08753c66f4b3cf30476e86c37b953 (patch) | |
tree | f9a40b43b467fb89170a22878148cf2c8752f5e2 /src/video_core/gpu_thread.cpp | |
parent | 66be5150d6d201e3f8ca6e5e09968f052df4beb1 (diff) | |
download | yuzu-android-30ce9b2b5cd08753c66f4b3cf30476e86c37b953.tar.gz yuzu-android-30ce9b2b5cd08753c66f4b3cf30476e86c37b953.zip |
video_core/gpu_thread: Silence truncation warning in ThreadManager's constructor
Since c5d41fd812d7eb1a04f36b76c08fe971cee0868c callback parameters were
changed to use an s64 to represent late cycles instead of an int, so
this was causing a truncation warning to occur here. Changing it to s64
is sufficient to silence the warning.
Diffstat (limited to 'src/video_core/gpu_thread.cpp')
-rw-r--r-- | src/video_core/gpu_thread.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/gpu_thread.cpp b/src/video_core/gpu_thread.cpp index 23f9bd422..cc56cf467 100644 --- a/src/video_core/gpu_thread.cpp +++ b/src/video_core/gpu_thread.cpp @@ -59,7 +59,7 @@ ThreadManager::ThreadManager(Core::System& system, VideoCore::RendererBase& rend Tegra::DmaPusher& dma_pusher) : system{system}, thread{RunThread, std::ref(renderer), std::ref(dma_pusher), std::ref(state)} { synchronization_event = system.CoreTiming().RegisterEvent( - "GPUThreadSynch", [this](u64 fence, int) { state.WaitForSynchronization(fence); }); + "GPUThreadSynch", [this](u64 fence, s64) { state.WaitForSynchronization(fence); }); } ThreadManager::~ThreadManager() { |