From 2cdf2f54d7eb55332c8c08904390044538ff3799 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 4 Oct 2008 12:23:51 +0200 Subject: [PATCH] screen: declare time constants as GTime Variables which store integer seconds should be declared as GTime. This fixes a gcc warning. --- src/screen.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/screen.c b/src/screen.c index ea6d5d4..7035ae0 100644 --- a/src/screen.c +++ b/src/screen.c @@ -39,10 +39,10 @@ #include /** welcome message time [s] */ -static const unsigned SCREEN_WELCOME_TIME = 10; +static const GTime SCREEN_WELCOME_TIME = 10; /** status message time [s] */ -static const unsigned SCREEN_STATUS_MESSAGE_TIME = 3; +static const GTime SCREEN_STATUS_MESSAGE_TIME = 3; /* minumum window size */ static const int SCREEN_MIN_COLS = 14; -- 2.30.2