Code

utils: move format_duration_*() to time_format.c
[ncmpc.git] / src / screen_chat.c
index b4c80fbce14c1432042a5519325444ba0fa8a94d..f79e73fcf7b0195b2a97885a6b0ab0e6ee640e36 100644 (file)
@@ -1,5 +1,5 @@
 /* ncmpc (Ncurses MPD Client)
- * (c) 2004-2012 The Music Player Daemon Project
+ * (c) 2004-2017 The Music Player Daemon Project
  * Project homepage: http://musicpd.org
  *
  * This program is free software; you can redistribute it and/or modify
@@ -74,7 +74,7 @@ check_chat_support(struct mpdclient *c)
 }
 
 static void
-screen_chat_init(WINDOW *w, int cols, int rows)
+screen_chat_init(WINDOW *w, unsigned cols, unsigned rows)
 {
        screen_text_init(&text, w, cols, rows);
 }
@@ -92,7 +92,7 @@ screen_chat_open(struct mpdclient *c)
 }
 
 static void
-screen_chat_resize(int cols, int rows)
+screen_chat_resize(unsigned cols, unsigned rows)
 {
        screen_text_resize(&text, cols, rows);
 }