diff options
Diffstat (limited to 'src/support.c')
-rw-r--r-- | src/support.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/support.c b/src/support.c index 315c569f7..ae3381ef2 100644 --- a/src/support.c +++ b/src/support.c @@ -137,7 +137,7 @@ strscroll(char *str, char *separator, int width, scroll_state_t *st) } else { buf = g_malloc(size); g_strlcpy(buf, tmp+st->offset, size); - if (strlen(buf) < width) + if (strlen(buf) < (size_t)width) g_strlcat(buf, tmp, size); } if( time(NULL)-st->t >= 1 ) { |