summaryrefslogtreecommitdiff
path: root/coccinelle/xsprintf.cocci
diff options
context:
space:
mode:
authorEvgeny Vereshchagin <evvers@ya.ru>2017-02-12 08:38:16 +0300
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-02-12 00:38:16 -0500
commit0d7578dc30b9c9e8eb213e517d4928f222764a44 (patch)
treeb6a7c92a15b18df213b63fb6ecbf352e5a72f3db /coccinelle/xsprintf.cocci
parentb9e2d822d0b6bf7972a9b9f5ca26b65ea5b0b293 (diff)
shared: pass *unsigned_long to namespace_flag_from_string_many (#5315)
Fixes: ``` src/shared/bus-unit-util.c: In function ‘bus_append_unit_property_assignment’: src/shared/bus-unit-util.c:570:65: warning: passing argument 2 of ‘namespace_flag_from_string_many’ from incompatible pointer type [-Wincompatible-pointer-types] r = namespace_flag_from_string_many(eq, &flags); ^ In file included from src/shared/bus-unit-util.c:31:0: src/shared/nsflags.h:41:5: note: expected ‘long unsigned int *’ but argument is of type ‘uint64_t * {aka long long unsigned int *}’ int namespace_flag_from_string_many(const char *name, unsigned long *ret); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ``` Closes #5312
Diffstat (limited to 'coccinelle/xsprintf.cocci')
0 files changed, 0 insertions, 0 deletions