]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Fix warning
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sun, 30 Dec 2012 12:38:03 +0000 (12:38 +0000)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sun, 30 Dec 2012 12:38:03 +0000 (12:38 +0000)
src/main/connection.c

index ec9772689670028418ee89d481708491c720b6e1..666d9cdd2b2ab6128d7f85e4c95cc12d7db0b5c0 100644 (file)
@@ -561,7 +561,7 @@ static int fr_connection_manage(fr_connection_pool_t *fc,
            ((this->last_used + fc->idle_timeout) < now)) {
                radlog(L_INFO, "%s: Closing connection (%i): Hit idle_timeout, "
                       "was idle for %u seconds", fc->log_prefix, this->number,
-                      (int) now - this->last_used);
+                      (int) (now - this->last_used));
                goto do_delete;
        }