diff options
author | James Rowe <jroweboy@gmail.com> | 2017-08-22 08:09:09 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-22 08:09:09 -0600 |
commit | a8675f42875d7ad41ef64b89ec478834042355dd (patch) | |
tree | 8e2c67c072ad8d874d1b5685a8d084719acb90af /src/core/hw/gpu.cpp | |
parent | 03c782e378cdcd206267656d69dbc98cf8c6274e (diff) | |
parent | 8a9a4e2c42b6c2326140f7369374bf78a4645a8f (diff) |
Merge pull request #2888 from Subv/warnings
Fixed some warnings in the core project.
Diffstat (limited to 'src/core/hw/gpu.cpp')
-rw-r--r-- | src/core/hw/gpu.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hw/gpu.cpp b/src/core/hw/gpu.cpp index 6838e449c..83ad9d898 100644 --- a/src/core/hw/gpu.cpp +++ b/src/core/hw/gpu.cpp @@ -29,7 +29,7 @@ namespace GPU { Regs g_regs; /// 268MHz CPU clocks / 60Hz frames per second -const u64 frame_ticks = BASE_CLOCK_RATE_ARM11 / SCREEN_REFRESH_RATE; +const u64 frame_ticks = static_cast<u64>(BASE_CLOCK_RATE_ARM11 / SCREEN_REFRESH_RATE); /// Event id for CoreTiming static int vblank_event; |