Date: Tue, 4 Sep 2001 14:28:08 -0700 (PDT) From: "Andrey A. Chernov" <ache@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/stdlib strtol.c strtoll.c Message-ID: <200109042128.f84LS8360605@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
ache 2001/09/04 14:28:07 PDT
Modified files:
lib/libc/stdlib strtol.c strtoll.c
Log:
Portability fix: use unsigned cast to guaranteed positive part of expression
in case {L}LONG_MAX > abs({L}LONG_MIN). Non-functional change - we don't
have any such platforms.
Revision Changes Path
1.7 +2 -2 src/lib/libc/stdlib/strtol.c
1.9 +2 -2 src/lib/libc/stdlib/strtoll.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200109042128.f84LS8360605>
