qblist: Retype ptr in qb_list_entry to char*#385
qblist: Retype ptr in qb_list_entry to char*#385chrissie-c merged 1 commit intoClusterLabs:masterfrom
Conversation
This allows pointer arithmetics without issuing warning. Signed-off-by: Jan Friesse <jfriesse@redhat.com>
|
@chrissie-c A bit longer comment. I was trying to find out why corosync build was failing only in CI and not when testing on my machines. The reason is, that CI is using non-system libqb. Gcc (and probably other compilers?) have exception for header files in system directories and all warnings are suppressed. So The patch in kernel which changed (char *) to (void *) - torvalds/linux@c7acec7 - was, AFAICT, not that much about (char *) but about Another possibility would be to remove |
|
Thanks for your investigations into this. It's good to know what was going on! |
This allows pointer arithmetics without issuing warning.
Signed-off-by: Jan Friesse jfriesse@redhat.com