Path: csiph.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: Tim Rentsch Newsgroups: comp.lang.c Subject: Re: Safety of casting from 'long' to 'int' Date: Sun, 10 May 2026 13:23:39 -0700 Organization: A noiseless patient Spider Lines: 8 Message-ID: <86wlxbqaic.fsf@linuxsc.com> References: <10su8cn$am9i$1@dont-email.me> <10te56b$rpfu$1@dont-email.me> <10tfclh$7vb$1@reader1.panix.com> <10tflij$19d6u$1@dont-email.me> <10tg55j$kvp$1@reader1.panix.com> <10tgfs8$1i2g4$1@dont-email.me> <10tlj1h$129ms$1@paganini.bofh.team> <10tls2u$39j7a$1@dont-email.me> <10tmhvb$19hk3$1@paganini.bofh.team> <10tn877$3kg8u$1@dont-email.me> <10todi7$3vl63$2@kst.eternal-september.org> <10togv8$b63$2@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Date: Sun, 10 May 2026 20:23:42 +0000 (UTC) Injection-Info: dont-email.me; logging-data="666561"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/zpNvbwGroGI2pp2gT9ZBfwEi6DWwWLd0="; posting-host="6036d710c83bf18720fd516086d32b65" User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux) Cancel-Lock: sha1:/Le3jDoqX395EEUwxzOdjsrgI1Q= sha1:JM6Sm0pKbtVhHXeOa1GNE2cP3mc= sha256:DNhoJk1Uf9xYG9S6KX/W+P28zq8GmOVEQLHr+WCp6Y0= sha1:d3g5rsHsm8R7YZlKI2tbPSObfqo= Xref: csiph.com comp.lang.c:398671 scott@slp53.sl.home (Scott Lurndal) writes: > An experienced C programmer uses independent translation > units without even thinking about it, when the application > is non-trivial. For many reasons, including reusability, > maintainability and collaboration. +1