From: Max Kellermann Date: Sat, 4 Oct 2008 10:23:51 +0000 (+0200) Subject: screen: declare time constants as GTime X-Git-Tag: v0.12_alpha1~68 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=2cdf2f54d7eb55332c8c08904390044538ff3799;p=ncmpc.git screen: declare time constants as GTime Variables which store integer seconds should be declared as GTime. This fixes a gcc warning. --- 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;