diff options
author | Carl Worth <cworth@cworth.org> | 2009-10-25 15:39:53 -0700 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2009-10-25 15:52:14 -0700 |
commit | cc48812cb55e046a77ce1b4aad33566acc5fbd47 (patch) | |
tree | 4f66f6c647f0ae7ac5eec68732bc9b6706b3beaf /message-file.c | |
parent | 067c547b236133cacbe7192b99bcd5487a08f7c8 (diff) |
Add -Wextra and fix warnings.
When adding -Wextra we also add -Wno-ununsed-parameters since that
function means well enough, but is really annoying in practice.
So the warnings we fix here are basically all comparsions between
signed and unsigned values.
Diffstat (limited to 'message-file.c')
-rw-r--r-- | message-file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/message-file.c b/message-file.c index cb2bf66..f625a93 100644 --- a/message-file.c +++ b/message-file.c @@ -162,7 +162,7 @@ copy_header_unfolding (header_value_closure_t *value, chunk++; if (value->len + 1 + strlen (chunk) + 1 > value->size) { - int new_size = value->size; + unsigned int new_size = value->size; if (value->size == 0) new_size = strlen (chunk) + 1; else |