aboutsummaryrefslogtreecommitdiffstats
path: root/src/html.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2012-03-01 16:45:38 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2012-03-01 16:45:38 +0400
commit7dcf9f9bade26ca02b8706a2e4cb2066f6ba7b00 (patch)
treef69121ee5c1a0e43fe987db8ed2c9e5cc66c79f0 /src/html.c
parentc93cca709b13da41b8d5bcd08874d75669e125f0 (diff)
downloadrspamd-7dcf9f9bade26ca02b8706a2e4cb2066f6ba7b00.tar.gz
rspamd-7dcf9f9bade26ca02b8706a2e4cb2066f6ba7b00.zip
Use DB_HASH access method for bdb backend.
Fix signed and unsigned comparasion while I'm here.
Diffstat (limited to 'src/html.c')
-rw-r--r--src/html.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/html.c b/src/html.c
index 04dfdfa89..dac09bf0e 100644
--- a/src/html.c
+++ b/src/html.c
@@ -578,7 +578,7 @@ decode_entitles (gchar *s, guint * len)
l = *len;
}
- while (h - s < l) {
+ while (h - s < (gint)l) {
switch (state) {
/* Out of entitle */
case 0: