summaryrefslogtreecommitdiffstats
path: root/source/theme.c
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2017-01-09 08:39:02 +0100
committerDave Davenport <qball@gmpclient.org>2017-01-09 08:39:02 +0100
commit5188e36147010c22c3fc5041e7a82f3f1a7c9e3f (patch)
tree8309344d59cbda00b35550a846d64b9a15d2b6fe /source/theme.c
parentf42e4ffbd7b19723eb2ffeab744ed3b6724b056c (diff)
Remove unused functions and other small fixes
Diffstat (limited to 'source/theme.c')
-rw-r--r--source/theme.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/theme.c b/source/theme.c
index b7e89ec9..03f86fde 100644
--- a/source/theme.c
+++ b/source/theme.c
@@ -80,7 +80,7 @@ void rofi_theme_free ( ThemeWidget *widget )
static void rofi_theme_print_distance ( Distance d )
{
if ( d.type == PW_PX ) {
- printf ( "%upx ", (int) d.distance );
+ printf ( "%upx ", (unsigned int) d.distance );
}
else if ( d.type == PW_PERCENT ) {
printf ( "%f%% ", d.distance );