We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b8963b commit 246510cCopy full SHA for 246510c
clarity-types/src/types/signatures.rs
@@ -163,7 +163,7 @@ impl From<BufferLength> for u32 {
163
impl TryFrom<u32> for BufferLength {
164
type Error = CheckErrors;
165
fn try_from(data: u32) -> Result<BufferLength, CheckErrors> {
166
- Self::try_from(data as usize)
+ Self::try_from(data as i128)
167
}
168
169
@@ -244,7 +244,7 @@ impl From<StringUTF8Length> for u32 {
244
impl TryFrom<u32> for StringUTF8Length {
245
246
fn try_from(data: u32) -> Result<StringUTF8Length, CheckErrors> {
247
248
249
250
0 commit comments