From 5ec85f8819e7515c96e61f90646472886f5bb285 Mon Sep 17 00:00:00 2001 From: Marko Kreen Date: Wed, 29 Sep 2010 09:40:10 -0700 Subject: [PATCH] Use PRIu64 instead of llu as it seems not portable enough --- lib | 2 +- src/objects.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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) { -- 2.40.0