diff options
author | "Vladimir N. Oleynik" | 2006-02-01 12:56:19 +0000 |
---|---|---|
committer | "Vladimir N. Oleynik" | 2006-02-01 12:56:19 +0000 |
commit | 73ffd762ca58831584641b9760eb3b9b13bae195 (patch) | |
tree | 617b77d974f1b13f126b1bbcc8d934850918c9d2 /miscutils/less.c | |
parent | b399a9634342cd083f3008c162ba5e901e9258f5 (diff) | |
download | busybox-73ffd762ca58831584641b9760eb3b9b13bae195.zip busybox-73ffd762ca58831584641b9760eb3b9b13bae195.tar.gz |
removed anoinig warnings
Diffstat (limited to 'miscutils/less.c')
-rw-r--r-- | miscutils/less.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/less.c b/miscutils/less.c index 0b0dc0c..df55b50 100644 --- a/miscutils/less.c +++ b/miscutils/less.c @@ -648,7 +648,7 @@ static char *process_regex_on_line(char *line, regex_t *pattern) { match_found = 1; line2 = insert_highlights(line2, match_structs.rm_so + prev_eo, match_structs.rm_eo + prev_eo); - if (match_structs.rm_eo + 11 + prev_eo < strlen(line2)) + if ((size_t)match_structs.rm_eo + 11 + prev_eo < strlen(line2)) strcat(sub_line, line2 + match_structs.rm_eo + 11 + prev_eo); prev_eo += match_structs.rm_eo + 11; |