aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/buffer.c2
-rw-r--r--src/message.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/buffer.c b/src/buffer.c
index b8e2c4dcc..bff75fc39 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -129,7 +129,7 @@ read_buffers (int fd, rspamd_io_dispatcher_t *d, gboolean skip_read)
f_str_t res;
char *c, *b;
char **pos;
- unsigned int *len;
+ size_t *len;
enum io_policy saved_policy;
diff --git a/src/message.c b/src/message.c
index f664122d0..65187d478 100644
--- a/src/message.c
+++ b/src/message.c
@@ -33,7 +33,7 @@
GByteArray*
strip_html_tags (memory_pool_t *pool, struct mime_text_part *part, GByteArray *src, int *stateptr)
{
- uint8_t *tbuf = NULL, *p, *tp = NULL, *rp, *tbegin, c, lc;
+ uint8_t *tbuf = NULL, *p, *tp = NULL, *rp, *tbegin = NULL, c, lc;
int br, i = 0, depth = 0, in_q = 0;
int state = 0;
GByteArray *buf;