Code

README.rst: reformat the "Links" section
[ncmpc.git] / src / list_window.c
index 387b7766b4f2d1fdfa3ad6855b049a5cd3ae6a06..3fbe531571584b13164a99cbbf55235732c50557 100644 (file)
@@ -1,5 +1,5 @@
 /* ncmpc (Ncurses MPD Client)
- * (c) 2004-2010 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
@@ -380,7 +380,7 @@ list_window_paint(const struct list_window *lw,
 void
 list_window_paint2(const struct list_window *lw,
                   list_window_paint_callback_t paint_callback,
-                  void *callback_data)
+                  const void *callback_data)
 {
        bool show_cursor = !lw->hide_cursor &&
                (!options.hardware_cursor || lw->range_selection);