aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcorvid <corvid@lavabit.com>2012-12-10 21:11:07 +0000
committercorvid <corvid@lavabit.com>2012-12-10 21:11:07 +0000
commite721e8017a51dc907c0018b4c108b629ad152930 (patch)
tree4d45bbe8b97e16235e3b218b35d3a810986e7aaa
parentdec63a3f335a4997ef9d9f0ab3ba059ad2c5aa5c (diff)
fix warning
-rw-r--r--src/plain.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plain.cc b/src/plain.cc
index 58fbdfb3..d63ce6cf 100644
--- a/src/plain.cc
+++ b/src/plain.cc
@@ -143,7 +143,7 @@ void DilloPlain::addLine(char *Buf, uint_t BufSize)
// Limit word length to avoid X11 coordinate
// overflow with extremely long lines.
while ((len = a_Misc_expand_tabs(&Buf, end, buf, sizeof(buf) - 1))) {
- assert (len < sizeof(buf));
+ assert ((uint_t)len < sizeof(buf));
buf[len] = '\0';
DW2TB(dw)->addText(buf, len, widgetStyle);
}