summaryrefslogtreecommitdiffstats
path: root/src/tab-label.c
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2018-09-24 18:20:53 (EDT)
committer P. J. McDermott <pj@pehjota.net>2018-09-24 18:20:53 (EDT)
commit184299e661052f99e246c90e4dc2debe9722d66b (patch)
treeaf62ce1fa0ae9e8035e7cd6c200f367fa4c17ecd /src/tab-label.c
parent5448e4bb073358c258ad9ad6e570123f32feac64 (diff)
downloadmarquee-184299e661052f99e246c90e4dc2debe9722d66b.zip
marquee-184299e661052f99e246c90e4dc2debe9722d66b.tar.gz
marquee-184299e661052f99e246c90e4dc2debe9722d66b.tar.bz2
Fix signedness of printf format specifiers
Diffstat (limited to 'src/tab-label.c')
-rw-r--r--src/tab-label.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tab-label.c b/src/tab-label.c
index 3680078..fd4b7b4 100644
--- a/src/tab-label.c
+++ b/src/tab-label.c
@@ -168,7 +168,7 @@ update_label(MqTabLabel *tab_label)
title = tab_label->scrolling ? tab_label->scrolled_title :
tab_label->title;
- label = g_strdup_printf("%d. %s", tab_label->position, title);
+ label = g_strdup_printf("%u. %s", tab_label->position, title);
gtk_label_set_text(GTK_LABEL(tab_label->label), label);
gtk_widget_set_tooltip_text(GTK_WIDGET(tab_label), label);
g_free(label);