projects
/
mmh
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
120dd74
)
Fixed comparison to be signed instead of unsigned.
author
David Levine
<levinedl@acm.org>
Sat, 3 Nov 2012 13:13:34 +0000
(08:13 -0500)
committer
David Levine
<levinedl@acm.org>
Sat, 3 Nov 2012 13:13:34 +0000
(08:13 -0500)
uip/mhshowsbr.c
patch
|
blob
|
history
diff --git
a/uip/mhshowsbr.c
b/uip/mhshowsbr.c
index
99db9f8
..
550669a
100644
(file)
--- a/
uip/mhshowsbr.c
+++ b/
uip/mhshowsbr.c
@@
-980,7
+980,7
@@
raw:
}
if (buflen <= 0 ||
- (ct->c_termproc && (size_t) buflen <= strlen(ct->c_termproc))) {
+ (ct->c_termproc && buflen <= (ssize_t) strlen(ct->c_termproc))) {
/* content_error would provide a more useful error message
* here, except that if we got overrun, it probably would
* too.