Skip to content
Snippets Groups Projects
Commit 8f3f0c54 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Merge branch 'master' of gitlab.synchro.net:main/sbbs

parents 9db7a614 26028bca
Branches
Tags
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #2914 failed
......@@ -44,7 +44,7 @@ void sbbs_t::showfileinfo(file_t* f, bool show_extdesc)
bprintf(P_TRUNCATE, text[FiCredits]
,(cfg.dir[f->dir]->misc&DIR_FREE || !f->cost) ? "FREE" : i64toac(f->cost,tmp));
if(getfilesize(&cfg, f) > 0 && f->size == smb_getfilesize(&f->idx)) {
if(getfilesize(&cfg, f) > 0 && (uint64_t)f->size == smb_getfilesize(&f->idx)) {
#if 0 // I don't think anyone cares about the CRC-16 checksum value of a file
if(f->file_idx.hash.flags & SMB_HASH_CRC16) {
SAFEPRINTF(tmp, "%04x", f->file_idx.hash.data.crc16);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment