Module Name: src Committed By: roy Date: Sun Jun 21 15:05:23 UTC 2020
Modified Files: src/lib/libterminfo: compile.c term_private.h Log Message: libterminfo: cast to uint16/32_t before conversion to preserve negativity Otherwise the ABSENT_NUMERIC(-1) or CANCELLED_NUMERIC(-2) will be converted incorrectly to size_t and then down to uint16/32_t. Picked up by DIAGNOSTIC builds. Thanks to Michael Forney for the fix for PR lib/52293. To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/lib/libterminfo/compile.c cvs rdiff -u -r1.18 -r1.19 src/lib/libterminfo/term_private.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.