summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-11-26 23:13:47 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-11-26 23:13:47 +0000
commit106ee8f30a27d60aa4e113e17ba48792cfc64e50 (patch)
tree55c7857de53458354a152ad1c3378b4d03524a43
parent1acf066fb97226bf178177f2521b35eb08261d7e (diff)
This doesn't need to be u_int.
-rw-r--r--clock.c2
-rw-r--r--tmux.h2
-rw-r--r--window-clock.c3
3 files changed, 3 insertions, 4 deletions
diff --git a/clock.c b/clock.c
index 5711b441..b630cf84 100644
--- a/clock.c
+++ b/clock.c
@@ -97,7 +97,7 @@ const char clock_table[14][5][5] = {
};
void
-clock_draw(struct screen_write_ctx *ctx, u_int colour, int style)
+clock_draw(struct screen_write_ctx *ctx, int colour, int style)
{
struct screen *s = ctx->s;
struct grid_cell gc;
diff --git a/tmux.h b/tmux.h
index d99972c1..62f753da 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1408,7 +1408,7 @@ int paste_replace(struct paste_stack *, u_int, char *, size_t);
/* clock.c */
extern const char clock_table[14][5][5];
-void clock_draw(struct screen_write_ctx *, u_int, int);
+void clock_draw(struct screen_write_ctx *, int, int);
/* cmd.c */
int cmd_pack_argv(int, char **, char *, size_t);
diff --git a/window-clock.c b/window-clock.c
index d45d6cdd..27fe56cd 100644
--- a/window-clock.c
+++ b/window-clock.c
@@ -113,8 +113,7 @@ window_clock_draw_screen(struct window_pane *wp)
{
struct window_clock_mode_data *data = wp->modedata;
struct screen_write_ctx ctx;
- u_int colour;
- int style;
+ int colour, style;
colour = options_get_number(&wp->window->options, "clock-mode-colour");
style = options_get_number(&wp->window->options, "clock-mode-style");