From ecfba8399c96c7a6d85c00417efd276695840816 Mon Sep 17 00:00:00 2001 From: Andrew Borodin Date: Tue, 29 Mar 2016 09:30:16 +0300 Subject: [PATCH] lib/widget/input.c: cleanup -Wcast-qual warning. Signed-off-by: Andrew Borodin --- lib/widget/input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/widget/input.c b/lib/widget/input.c index 2b2cdc37f..45e83accf 100644 --- a/lib/widget/input.c +++ b/lib/widget/input.c @@ -91,7 +91,7 @@ get_history_length (const GList * history) { size_t len = 0; - for (; history != NULL; history = g_list_previous (history)) + for (; history != NULL; history = (const GList *) g_list_previous (history)) len++; return len;