mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-01 23:28:08 -07:00
Fixes QA warning about lack of udev rules reload after install, fixes build on modern compilers Bug: https://bugs.gentoo.org/843071 Closes: https://bugs.gentoo.org/920193 Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com> Closes: https://github.com/gentoo/gentoo/pull/40227 Signed-off-by: Sam James <sam@gentoo.org>
27 lines
958 B
Diff
27 lines
958 B
Diff
Correct types so all pointer types are compatibile.
|
|
https://bugs.gentoo.org/920193
|
|
diff '--color=auto' -ru openct-0.6.20.old/src/ifd/process.c openct-0.6.20/src/ifd/process.c
|
|
--- openct-0.6.20.old/src/ifd/process.c 2025-01-20 19:26:08.226266610 +0400
|
|
+++ openct-0.6.20/src/ifd/process.c 2025-01-20 19:28:06.168582649 +0400
|
|
@@ -450,7 +450,7 @@
|
|
ct_tlv_parser_t * args, ct_tlv_builder_t * resp)
|
|
{
|
|
unsigned char *data;
|
|
- unsigned int data_len;
|
|
+ size_t data_len;
|
|
unsigned int address;
|
|
int rc;
|
|
|
|
diff '--color=auto' -ru openct-0.6.20.old/src/include/openct/socket.h openct-0.6.20/src/include/openct/socket.h
|
|
--- openct-0.6.20.old/src/include/openct/socket.h 2025-01-20 19:34:34.479330790 +0400
|
|
+++ openct-0.6.20/src/include/openct/socket.h 2025-01-20 19:36:19.708720553 +0400
|
|
@@ -37,7 +37,7 @@
|
|
listener : 1;
|
|
|
|
/* events to poll for */
|
|
- int events;
|
|
+ short events;
|
|
|
|
void * user_data;
|
|
int (*poll)(struct ct_socket *, struct pollfd *);
|