Skip to content

Commit 23ae60a

Browse files
fix a compiler warning
1 parent 9a6da86 commit 23ae60a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/nbl/builtin/hlsl/cpp_compat/promote.hlsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ struct Promote<To, From NBL_PARTIAL_REQ_BOT(concepts::Vectorial<To> && (concepts
2929
array_set<To, From> setter;
3030
To output;
3131
[[unroll]]
32-
for (int i = 0; i < vector_traits<To>::Dimension; ++i)
32+
for (uint32_t i=0; i<vector_traits<To>::Dimension; ++i)
3333
setter(output, i, v);
3434
return output;
3535
}

0 commit comments

Comments
 (0)