diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-08-04 20:31:24 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-08-04 20:31:24 +0400 |
commit | 3f96e6a7a317e70b85b32de4aa06681c11d79006 (patch) | |
tree | 70343e3fb1a43d29d9c4f454fa47b2dcad6249ad /src/smtp_proto.c | |
parent | 6b86782ce21caad081d41f54ef10233a8e757189 (diff) | |
download | rspamd-3f96e6a7a317e70b85b32de4aa06681c11d79006.tar.gz rspamd-3f96e6a7a317e70b85b32de4aa06681c11d79006.zip |
Fix signness in arithmetic operations.
Diffstat (limited to 'src/smtp_proto.c')
-rw-r--r-- | src/smtp_proto.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/smtp_proto.c b/src/smtp_proto.c index 5a3ccebd8..d443a1fb3 100644 --- a/src/smtp_proto.c +++ b/src/smtp_proto.c @@ -62,7 +62,7 @@ parse_smtp_command (struct smtp_session *session, f_str_t *line, struct smtp_com SMTP_PARSE_DONE } state; gchar *p, *c, ch, cmd_buf[4]; - gint i; + guint i; f_str_t *arg = NULL; struct smtp_command *pcmd; @@ -202,7 +202,7 @@ end: static gboolean check_smtp_path (f_str_t *path) { - gint i; + guint i; gchar *p; p = path->begin; |