Commit e2242e5f by Nicolas Capens Committed by Nicolas Capens

Fix negation of unsigned value warning treated as error

Change-Id: Iaf147233a0703360a2fb95a36aae5b2cf011dfc7 Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/31512Reviewed-by: 's avatarChris Forbes <chrisforbes@google.com> Tested-by: 's avatarNicolas Capens <nicolascapens@google.com>
parent 558df923
......@@ -5875,7 +5875,7 @@ namespace sw
break;
case spv::OpSNegate:
v = -l;
v = -(int)l;
break;
case spv::OpNot:
case spv::OpLogicalNot:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment