summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/frontend/ir/microinstruction.cpp
diff options
context:
space:
mode:
authorGravatar ReinUsesLisp2021-04-21 06:10:04 -0300
committerGravatar ameerj2021-07-22 21:51:28 -0400
commitc8f9772d6590a018665d47a165951864ff783017 (patch)
treed9f72b06b624ec4921a6aeca63504d0e71490460 /src/shader_recompiler/frontend/ir/microinstruction.cpp
parentshader: Inline common Value getters (diff)
downloadyuzu-c8f9772d6590a018665d47a165951864ff783017.tar.gz
yuzu-c8f9772d6590a018665d47a165951864ff783017.tar.xz
yuzu-c8f9772d6590a018665d47a165951864ff783017.zip
shader: Fix gcc warnings
Diffstat (limited to 'src/shader_recompiler/frontend/ir/microinstruction.cpp')
-rw-r--r--src/shader_recompiler/frontend/ir/microinstruction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shader_recompiler/frontend/ir/microinstruction.cpp b/src/shader_recompiler/frontend/ir/microinstruction.cpp
index e3350931b..b424d038e 100644
--- a/src/shader_recompiler/frontend/ir/microinstruction.cpp
+++ b/src/shader_recompiler/frontend/ir/microinstruction.cpp
@@ -282,7 +282,7 @@ void Inst::ClearArgs() {
282 } 282 }
283 // Reset arguments to null 283 // Reset arguments to null
284 // std::memset was measured to be faster on MSVC than std::ranges:fill 284 // std::memset was measured to be faster on MSVC than std::ranges:fill
285 std::memset(&args, 0, sizeof(args)); 285 std::memset(reinterpret_cast<char*>(&args), 0, sizeof(args));
286 } 286 }
287} 287}
288 288