Commit c197b134 by github-actions

Merge upstream openzeppelin-contracts into upstream-patched

parents e0d2b338 051d3401
...@@ -26,7 +26,7 @@ library Strings { ...@@ -26,7 +26,7 @@ library Strings {
uint256 index = digits - 1; uint256 index = digits - 1;
temp = value; temp = value;
while (temp != 0) { while (temp != 0) {
buffer[index--] = byte(uint8(48 + temp % 10)); buffer[index--] = bytes1(uint8(48 + temp % 10));
temp /= 10; temp /= 10;
} }
return string(buffer); return string(buffer);
......
This source diff could not be displayed because it is too large. You can view the blob instead.
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