libXdmcp: Changes to 'master'
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Sun Dec 29 17:38:29 UTC 2024
Unwrap.c | 2 +-
Write.c | 2 +-
include/X11/Xdmcp.h | 9 +++++++++
3 files changed, 11 insertions(+), 2 deletions(-)
New commits:
commit a3abc2d634c315e7776e5500b2d68f4eed6c2e20
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sat Dec 14 12:51:33 2024 -0800
Add pure attributes as suggested by gcc -Wsuggest-attribute=pure
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/lib/libxdmcp/-/merge_requests/11>
commit b0dd4260ab0e8ff2ae33c22adf41c9c7d3ddd913
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sat Dec 14 12:44:49 2024 -0800
Fix 3 -Wuseless-cast warnings from gcc 14.2
Unwrap.c: In function ‘XdmcpUnwrap’:
Unwrap.c:77:25: warning: useless cast to type ‘unsigned char *’ [-Wuseless-cast]
77 | _XdmcpAuthDoIt ((unsigned char *) (input + j), (unsigned char *) tmp, schedule, 0);
| ^
Unwrap.c:77:56: warning: useless cast to type ‘unsigned char *’ [-Wuseless-cast]
77 | _XdmcpAuthDoIt ((unsigned char *) (input + j), (unsigned char *) tmp, schedule, 0);
| ^
Write.c: In function ‘XdmcpWriteHeader’:
Write.c:43:9: warning: useless cast to type ‘int’ [-Wuseless-cast]
43 | if ((int)buffer->size < 6 + (int)header->length)
| ^
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/lib/libxdmcp/-/merge_requests/11>
More information about the xorg-commit
mailing list