Merge pull request #319 from amerkoleci/fix_cast
Just minor warning fix when compiling under x64
This commit is contained in:
commit
886fa8129d
@ -2486,7 +2486,7 @@ void CompilerHLSL::emit_access_chain(const Instruction &instruction)
|
|||||||
|
|
||||||
if (need_byte_access_chain)
|
if (need_byte_access_chain)
|
||||||
{
|
{
|
||||||
uint32_t to_plain_buffer_length = type.array.size();
|
uint32_t to_plain_buffer_length = static_cast<uint32_t>(type.array.size());
|
||||||
|
|
||||||
string base;
|
string base;
|
||||||
if (to_plain_buffer_length != 0)
|
if (to_plain_buffer_length != 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user