Changed type of "len" to size_t.
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -241,7 +241,7 @@ mh_format (mh_format_t *fmt, message_t msg, size_t msgno, | ... | @@ -241,7 +241,7 @@ mh_format (mh_format_t *fmt, message_t msg, size_t msgno, |
241 | strobj_free (&mach.arg_str); | 241 | strobj_free (&mach.arg_str); |
242 | if (value) | 242 | if (value) |
243 | { | 243 | { |
244 | int len = strlen (value); | 244 | size_t len = strlen (value); |
245 | mach.arg_str.size = len + 1; | 245 | mach.arg_str.size = len + 1; |
246 | compress_ws (value, &len); | 246 | compress_ws (value, &len); |
247 | mach.arg_str.ptr = value; | 247 | mach.arg_str.ptr = value; | ... | ... |
-
Please register or sign in to post a comment