1.3.2 build fails on 32 bit arches
Build on Mageia Cauldron armv7hl and i586 fails with the following error using GCC 12.2.1 and glibc 2.36.
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I.. -DG_LOG_DOMAIN=\"xfce4-systemload-plugin\" -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -DNDEBUG -I/usr/include/xfce4/libxfce4ui-2 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -pthread -I/usr/include/xfce4 -I/usr/include/xfce4/xfconf-0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/xfce4/libxfce4panel-2.0 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -pthread -I/usr/include/xfce4 -I/usr/include/libupower-glib -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wmissing-declarations -Wmissing-noreturn -Wpointer-arith -Wcast-align -Wformat -Wformat-security -Wformat-y2k -Winit-self -Wmissing-include-dirs -Wundef -Wredundant-decls -Wshadow -c network.cc -fPIC -DPIC -o .libs/libsystemload_la-network.o
network.cc: In function 'gint read_netload(gulong*, gulong*)':
network.cc:125:28: error: cannot convert 'guint64*' {aka 'long long unsigned int*'} to 'gulong*' {aka 'long unsigned int*'}
125 | if (read_netload_proc (&bytes[1]) != 0)
| ^~~~~~~~~
| |
| guint64* {aka long long unsigned int*}
network.cc:73:28: note: initializing argument 1 of 'gint read_netload_proc(gulong*)'
73 | read_netload_proc (gulong *bytes)
| ~~~~~~~~^~~~~
network.cc:126:35: error: cannot convert 'guint64*' {aka 'long long unsigned int*'} to 'gulong*' {aka 'long unsigned int*'}
126 | if (read_netload_libgtop (&bytes[1]) != 0)
| ^~~~~~~~~
| |
| guint64* {aka long long unsigned int*}
network.cc:63:31: note: initializing argument 1 of 'gint read_netload_libgtop(gulong*)'
63 | read_netload_libgtop (gulong *bytes)
| ~~~~~~~~^~~~~
make[2]: *** [Makefile:624: libsystemload_la-network.lo] Error 1