|author||Rich Felker <email@example.com>||2013-02-26 01:42:11 -0500|
|committer||Rich Felker <firstname.lastname@example.org>||2013-02-26 01:42:11 -0500|
fix integer type issue in strverscmp
lenl-lenr is not a valid expression for a signed int return value from strverscmp, since after implicit conversion from size_t to int this difference could have the wrong sign or might even be zero. using the difference for char values works since they're bounded well within the range of differences representable by int, but it does not work for size_t values.
Diffstat (limited to 'include/utmp.h')
0 files changed, 0 insertions, 0 deletions