diff options
Diffstat (limited to 'shared/src/store.rs')
-rw-r--r-- | shared/src/store.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/src/store.rs b/shared/src/store.rs index 08e62be..86ae053 100644 --- a/shared/src/store.rs +++ b/shared/src/store.rs @@ -139,7 +139,7 @@ pub fn resource_hash(x: &[u8]) -> [u8; 32] { fn fs_cache_path(path: &Path, res: Resource) -> PathBuf { path.join(format!( - "{:08x}{:08x}{:08x}{:08x}", + "{:016x}{:016x}{:016x}{:016x}", u64::from_be_bytes(res.0[0..8].try_into().unwrap()), u64::from_be_bytes(res.0[8..16].try_into().unwrap()), u64::from_be_bytes(res.0[16..24].try_into().unwrap()), |