Skip to content

Commit

Permalink
Fix clang sanitize warning
Browse files Browse the repository at this point in the history
  • Loading branch information
MikePopoloski committed Nov 20, 2023
1 parent e212995 commit a041e12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/ast/symbols/ValueSymbol.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ std::optional<DriverBitRange> ValueDriver::getBounds(const Expression& prefixExp
return std::nullopt;

SLANG_ASSERT(elemRange->left >= 0 && elemRange->right >= 0);
start = elemRange->lower();
start = (uint64_t)elemRange->lower();
width = elemRange->width();
}

Expand Down

0 comments on commit a041e12

Please sign in to comment.