build: fix format errors
mostly trivial:
for s?size_t -> use z modifier
for long/int/time_t/pid_t: add explicit cast, or use different specifier
for char*/void*: use explicit cast
for too many/too few arguments, use git log and context to either
add format specifier or drop argument, resp. drop format specifier or add suitable argument.
ipc.c:497: error: format '%d' expects type 'int', but argument 10 has type 'ssize_t'
ipc.c:500: error: format '%d' expects type 'int', but argument 10 has type 'ssize_t'
ipc.c:500: error: format '%.120s' expects type 'char *', but argument 11 has type 'void *'
ipc.c:512: error: format '%d' expects type 'int', but argument 12 has type 'ssize_t'
ipc.c:661: error: format '%d' expects type 'int', but argument 8 has type 'ssize_t'
ipc.c:831: error: too few arguments for format
utils.c:2075: error: format '%lu' expects type 'long unsigned int', but argument 10 has type 'unsigned int'
utils.c:2075: error: format '%lu' expects type 'long unsigned int', but argument 11 has type 'unsigned int'
utils.c:2075: error: format '%lu' expects type 'long unsigned int', but argument 12 has type 'unsigned int'
utils.c:2075: error: format '%lu' expects type 'long unsigned int', but argument 13 has type 'unsigned int'
xml.c:910: error: too many arguments for format
xml.c:2429: error: '0' flag ignored with precision and '%x' gnu_printf format
xml.c:4163: error: '0' flag ignored with precision and '%x' gnu_printf format
iso8601.c:982: error: too few arguments for format
remote.c:237: error: format '%d' expects type 'int', but argument 7 has type 'size_t'
remote.c:250: error: format '%d' expects type 'int', but argument 8 has type 'size_t'
remote.c:276: error: format '%d' expects type 'int', but argument 8 has type 'size_t'
remote.c:291: error: format '%d' expects type 'int', but argument 8 has type 'size_t'
remote.c:521: error: format '%u' expects type 'unsigned int', but argument 7 has type 'size_t'
remote.c:562: error: format '%u' expects type 'unsigned int', but argument 8 has type 'size_t'
remote.c:568: error: format '%u' expects type 'unsigned int', but argument 7 has type 'size_t'
remote.c:572: error: format '%u' expects type 'unsigned int', but argument 7 has type 'size_t'
remote.c:580: error: format '%u' expects type 'unsigned int', but argument 7 has type 'size_t'
remote.c:583: error: format '%u' expects type 'unsigned int', but argument 7 has type 'size_t'
remote.c:693: error: too few arguments for format
mainloop.c:659: error: format '%d' expects type 'int', but argument 9 has type 'long int'
mainloop.c:659: error: too many arguments for format
unpack.c:2884: error: too many arguments for format
utils.c:234: error: too many arguments for format
services_linux.c:92: error: too many arguments for format
dbus.c:521: error: format '%ld' expects type 'long int', but argument 8 has type 'int'
lrmd_client.c:1771: error: format '%d' expects type 'int', but argument 7 has type 'size_t'
lrmd_client.c:1913: error: format '%d' expects type 'int', but argument 7 has type 'size_t'
cpg.c:169: error: format '%d' expects type 'int', but argument 7 has type 'size_t'
cpg.c:181: error: format '%d' expects type 'int', but argument 11 has type 'ssize_t'
cpg.c:203: error: format '%d' expects type 'int', but argument 8 has type 'size_t'
cpg.c:626: error: format '%d' expects type 'int', but argument 9 has type 'size_t'
cpg.c:629: error: format '%d' expects type 'int', but argument 9 has type 'size_t'