summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 78db496)
raw | patch | inline | side by side (parent: 78db496)
author | Max Kellermann <max@duempel.org> | |
Sat, 4 Oct 2008 10:23:51 +0000 (12:23 +0200) | ||
committer | Max Kellermann <max@duempel.org> | |
Sat, 4 Oct 2008 10:23:51 +0000 (12:23 +0200) |
Variables which store integer seconds should be declared as GTime.
This fixes a gcc warning.
This fixes a gcc warning.
src/screen.c | patch | blob | history |
diff --git a/src/screen.c b/src/screen.c
index ea6d5d4bad36e2c88f9eec0c23cfd0ee76d1bc89..7035ae0bb8d9a1cdd00eb886840805565cb108fe 100644 (file)
--- a/src/screen.c
+++ b/src/screen.c
#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;