summaryrefslogtreecommitdiffstats
path: root/admin_client.c
diff options
context:
space:
mode:
Diffstat (limited to 'admin_client.c')
-rw-r--r--admin_client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin_client.c b/admin_client.c
index 02624a0..6bf964c 100644
--- a/admin_client.c
+++ b/admin_client.c
@@ -966,7 +966,7 @@ char *admin_state(int sock, char *argv[])
while(l!=ll)
{
move(line++>1?line-1:1, 0);
- if (strlen(logline[l % LOGLINES]) > hoffset)
+ if ((int)strlen(logline[l % LOGLINES]) > hoffset)
SCPY(buffer, logline[l % LOGLINES] + hoffset);
else
buffer[0] = '\0';