in_tail: use C99 macro instead of '%lu' to format 64-bit integers (#1157)
in_tail: use C99 macro instead of '%lu' to format 64-bit integers (#1157)

Windows is LLP64 system, and long integers have only 32-bit width there.
However, we use '%lu' for serializing read offset numbers (and others)
in tail_sql.h assuming long has always 64-bit width.

This was causing data corruption on Windows. This patch fixes the bug by
replacing them with C99's PRIu64 macro.

Signed-off-by: Fujimoto Seiji <ef879192bb1e41d519c82cf76440dc8e9a530806@clear-code.com>
fluent/fluent-bit,fluent/fluent-bit,fluent/fluent-bit,fluent/fluent-bit,fluent/fluent-bit,nokute78/fluent-bit,fluent/fluent-bit,nokute78/fluent-bit,nokute78/fluent-bit,nokute78/fluent-bit,nokute78/fluent-bit,nokute78/fluent-bit,nokute78/fluent-bit,nokute78/fluent-bit,fluent/fluent-bit,nokute78/fluent-bit,fluent/fluent-bit,fluent/fluent-bit,nokute78/fluent-bit,nokute78/fluent-bit,fluent/fluent-bit,fluent/fluent-bit,nokute78/fluent-bit,fluent/fluent-bit