libXaw3d: Changes to 'master'
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Sat Aug 24 22:00:02 UTC 2024
src/Text.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 18e25fa0cc67d1c9f33d6db8899acc5a58b93094
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sat Jul 13 15:41:20 2024 -0700
TextWidget: use labs() instead of abs() on value with long type
Found by gcc 14.1:
Text.c:1363:7: warning: absolute value function ‘abs’ given an argument of
type ‘long int’ but has parameter of type ‘int’ which may cause truncation
of value [-Wabsolute-value]
1363 | if (abs(move) < (int)ctx->core.width) {
| ^~~
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/lib/libxaw3d/-/merge_requests/14>
More information about the xorg-commit
mailing list