Changes
Started by upstream project gerrit-onomondo-ipa #9
Started 1 day 1 hr ago
Queued 11 sec
Took 2.8 sec
on build4-deb12build-ansible
esipa: fix printf fmt str for ssize_t
Fix for:
In file included from …/src/ipa/libipa/esipa.c:14:
…/src/ipa/libipa/esipa.c: In function ‘ipa_esipa_msg_to_eim_enc’:
…/src/ipa/libipa/esipa.h:16:33: error: format ‘%d’ expects argument of type ‘int’, but argument 7 has type ‘ssize_t’ {aka ‘long int’} [-Werror=form
at=]
16 | IPA_LOGP(SESIPA, level, "%s: " fmt, func, ## args)
| ^~~~~~
…/include/onomondo/ipa/log.h:18:53: note: in definition of macro ‘IPA_LOGP’
18 | ipa_logp(subsys, level, __FILE__, __LINE__, fmt, ## args)
| ^~~
…/src/ipa/libipa/esipa.c:129:17: note: in expansion of macro ‘IPA_LOGP_ESIPA’
129 | IPA_LOGP_ESIPA(function_name, LERROR, "cannot encode eIM request! rc = %d\n", rc.encoded);
| ^~~~~~~~~~~~~~
Change-Id: I5b210ae5acff362cf845f6a37073d2bffe69c76e
Fix for:
In file included from …/src/ipa/libipa/esipa.c:14:
…/src/ipa/libipa/esipa.c: In function ‘ipa_esipa_msg_to_eim_enc’:
…/src/ipa/libipa/esipa.h:16:33: error: format ‘%d’ expects argument of type ‘int’, but argument 7 has type ‘ssize_t’ {aka ‘long int’} [-Werror=form
at=]
16 | IPA_LOGP(SESIPA, level, "%s: " fmt, func, ## args)
| ^~~~~~
…/include/onomondo/ipa/log.h:18:53: note: in definition of macro ‘IPA_LOGP’
18 | ipa_logp(subsys, level, __FILE__, __LINE__, fmt, ## args)
| ^~~
…/src/ipa/libipa/esipa.c:129:17: note: in expansion of macro ‘IPA_LOGP_ESIPA’
129 | IPA_LOGP_ESIPA(function_name, LERROR, "cannot encode eIM request! rc = %d\n", rc.encoded);
| ^~~~~~~~~~~~~~
Change-Id: I5b210ae5acff362cf845f6a37073d2bffe69c76e
Oliver Smith
at