From: Marko Kreen Date: Wed, 29 Sep 2010 16:40:10 +0000 (-0700) Subject: Use PRIu64 instead of llu as it seems not portable enough X-Git-Tag: pgbouncer_1_4_rc3~31 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5ec85f8819e7515c96e61f90646472886f5bb285;p=pgbouncer Use PRIu64 instead of llu as it seems not portable enough --- diff --git a/lib b/lib index 6c0a384..5018e6a 160000 --- a/lib +++ b/lib @@ -1 +1 @@ -Subproject commit 6c0a3841b5fa5c689318e84be65e0402533ef7d1 +Subproject commit 5018e6a3c396584f8ecdc187be927bdec1e098f6 diff --git a/src/objects.c b/src/objects.c index c0caa47..a23d17e 100644 --- a/src/objects.c +++ b/src/objects.c @@ -711,7 +711,7 @@ void disconnect_server(PgSocket *server, bool notify, const char *reason, ...) reason = buf; if (cf_log_disconnections) - slog_info(server, "closing because: %s (age=%llu)", reason, + slog_info(server, "closing because: %s (age=%" PRIu64 ")", reason, (now - server->connect_time) / USEC); switch (server->state) { @@ -768,7 +768,7 @@ void disconnect_client(PgSocket *client, bool notify, const char *reason, ...) reason = buf; if (cf_log_disconnections) - slog_info(client, "closing because: %s (age=%llu)", reason, + slog_info(client, "closing because: %s (age=%" PRIu64 ")", reason, (now - client->connect_time) / USEC); switch (client->state) {