mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-13 15:16:16 +00:00
Fix MSVC narrowing warnings in newer MSVC versions.
Bug: dawn:824 Change-Id: I4be68ab47e5aa846583240c1024e286d7ec2e115 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/75073 Auto-Submit: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Ben Clayton <bclayton@google.com>
This commit is contained in:
committed by
Tint LUCI CQ
parent
09c49b34d9
commit
f09a23a3f7
@@ -1565,7 +1565,7 @@ sem::Call* Resolver::TypeConstructor(
|
||||
[&](const sem::Type* t, size_t i) -> const sem::Parameter* {
|
||||
return builder_->create<sem::Parameter>(
|
||||
nullptr, // declaration
|
||||
i, // index
|
||||
static_cast<uint32_t>(i), // index
|
||||
t->UnwrapRef(), // type
|
||||
ast::StorageClass::kNone, // storage_class
|
||||
ast::Access::kUndefined); // access
|
||||
|
||||
Reference in New Issue
Block a user