diff options
| author | metamuffin <metamuffin@disroot.org> | 2026-02-17 16:25:05 +0100 |
|---|---|---|
| committer | metamuffin <metamuffin@disroot.org> | 2026-02-17 16:25:05 +0100 |
| commit | 384789a6bb24bee810684a39bb60b2e1389ec154 (patch) | |
| tree | f48b3131c7facc31a7dd97a4ef27fe3a331c0600 /common/object/src/value.rs | |
| parent | 9a8d337f60541cec09917dbf4741992715a8edaf (diff) | |
| download | jellything-384789a6bb24bee810684a39bb60b2e1389ec154.tar jellything-384789a6bb24bee810684a39bb60b2e1389ec154.tar.bz2 jellything-384789a6bb24bee810684a39bb60b2e1389ec154.tar.zst | |
i64 json/debug support
Diffstat (limited to 'common/object/src/value.rs')
| -rw-r--r-- | common/object/src/value.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/object/src/value.rs b/common/object/src/value.rs index 086f2fd..733e3a0 100644 --- a/common/object/src/value.rs +++ b/common/object/src/value.rs @@ -123,7 +123,7 @@ impl ValueStore for f64 { impl Value<'_> for i64 { const ALIGNED: bool = true; fn load_aligned(buf: &[u32]) -> Option<Self> { - u32::load_aligned(buf).map(|x| x as i64) + u64::load_aligned(buf).map(|x| x as i64) } } impl ValueStore for i64 { |