Skip to content

Commit abcf3a4

Browse files
Leonardo Alminanaedsiper
authored andcommitted
reload: added appropriate type cast (CID 508209)
Signed-off-by: Leonardo Alminana <[email protected]>
1 parent 667e50e commit abcf3a4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/flb_reload.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,9 @@ int flb_reload(flb_ctx_t *ctx, struct flb_cf *cf_opts)
407407
return FLB_RELOAD_HALTED;
408408
}
409409

410-
flb_info("reloading instance pid=%lu tid=%p", (long unsigned) getpid(), pthread_self());
410+
flb_info("reloading instance pid=%lu tid=%p",
411+
(long unsigned int) getpid(),
412+
(void *) pthread_self());
411413

412414
if (old_config->conf_path_file) {
413415
file = flb_sds_create(old_config->conf_path_file);

0 commit comments

Comments
 (0)