diff options
author | Max Kellermann <max@duempel.org> | 2008-10-04 12:23:51 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-10-04 12:23:51 +0200 |
commit | 2cdf2f54d7eb55332c8c08904390044538ff3799 (patch) | |
tree | 70b1299caebc781908b52e81debd39d1aae80a4b /src | |
parent | 78db496dd7422c61cae1294f6863be9918b4bba9 (diff) | |
download | mpd-2cdf2f54d7eb55332c8c08904390044538ff3799.tar.gz mpd-2cdf2f54d7eb55332c8c08904390044538ff3799.tar.xz mpd-2cdf2f54d7eb55332c8c08904390044538ff3799.zip |
screen: declare time constants as GTime
Variables which store integer seconds should be declared as GTime.
This fixes a gcc warning.
Diffstat (limited to 'src')
-rw-r--r-- | src/screen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/screen.c b/src/screen.c index ea6d5d4ba..7035ae0bb 100644 --- a/src/screen.c +++ b/src/screen.c @@ -39,10 +39,10 @@ #include <locale.h> /** 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; |