From 8ca26e77992d2c6d9e094189e353c3f0a9d22e4e Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Wed, 11 May 2005 14:53:43 +0000 Subject: [PATCH] Tag 1000000L as long for compuation. --- contrib/pg_autovacuum/pg_autovacuum.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/pg_autovacuum/pg_autovacuum.c b/contrib/pg_autovacuum/pg_autovacuum.c index c0170ebd81..2388b3f351 100644 --- a/contrib/pg_autovacuum/pg_autovacuum.c +++ b/contrib/pg_autovacuum/pg_autovacuum.c @@ -4,7 +4,7 @@ * Revisions by Christopher B. Browne, Liberty RMS * Win32 Service code added by Dave Page * - * $PostgreSQL: pgsql/contrib/pg_autovacuum/pg_autovacuum.c,v 1.31 2005/04/19 03:35:15 momjian Exp $ + * $PostgreSQL: pgsql/contrib/pg_autovacuum/pg_autovacuum.c,v 1.32 2005/05/11 14:53:43 momjian Exp $ */ #include "postgres_fe.h" @@ -1749,7 +1749,7 @@ VacuumLoop(int argc, char **argv) fflush(LOGOUTPUT); } - pg_usleep(sleep_secs * 1000000); /* Larger Pause between outer loops */ + pg_usleep(sleep_secs * 1000000L); /* Larger Pause between outer loops */ gettimeofday(&then, 0); /* Reset time counter */