summaryrefslogtreecommitdiffstats
path: root/src/video_core/engines/engine_upload.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/video_core/engines/engine_upload.h')
-rw-r--r--src/video_core/engines/engine_upload.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/engines/engine_upload.h b/src/video_core/engines/engine_upload.h
index f08f6e36a..94fafd9dc 100644
--- a/src/video_core/engines/engine_upload.h
+++ b/src/video_core/engines/engine_upload.h
@@ -39,7 +39,7 @@ struct Registers {
u32 y;
GPUVAddr Address() const {
- return static_cast<GPUVAddr>((static_cast<GPUVAddr>(address_high) << 32) | address_low);
+ return (GPUVAddr{address_high} << 32) | GPUVAddr{address_low};
}
u32 BlockWidth() const {