BBS:      TELESC.NET.BR
Assunto:  src/sbbs3/zmodem.c
De:       Deuc¨
Data:     Sun, 15 Mar 2026 16:01:53 -0700
-----------------------------------------------------------
https://gitlab.synchro.net/main/sbbs/-/commit/87b7d946c0ab40a5a20343ee
Modified Files:
	src/sbbs3/zmodem.c
Log Message:
Remove vestigial int32_t casts truncating file sizes in zmodem_recv_files()

Three comparisons between l and bytes cast bytes to int32_t, silently
truncating file sizes > 2GB. Both variables are int64_t  the casts
were left over from the 887147a69c "64-bitify" conversion where
long/ulong became int32_t/uint32_t before being later widened to
int64_t.

Co-Authored-By: Claude Opus 4.6 
n
---
  mSynchronetn  hgVertrauen n hHome of Synchronet n gh[vert/cvs/bbs].synchro.net

-----------------------------------------------------------
[Voltar]