From: Jaakko Heinonen Date: Wed, 30 Aug 2006 10:49:34 +0000 (+0000) Subject: * max_len should be size_t X-Git-Tag: upstream/0.6.1~2^2~98 X-Git-Url: https://git.deb.at/w?a=commitdiff_plain;h=67c93952226c03ec0de47b63500cdff8356d15e5;p=pkg%2Fabook.git * max_len should be size_t --- diff --git a/edit.c b/edit.c index 17ac5f3..5f889f4 100644 --- a/edit.c +++ b/edit.c @@ -289,7 +289,7 @@ editor_print_data(int tab, int item) * valid string */ static int -change_field(char *msg, char **field, int max_len) +change_field(char *msg, char **field, size_t max_len) { char *old; int ret = 0; @@ -314,7 +314,7 @@ change_field(char *msg, char **field, int max_len) } static int -change_name_field(char *msg, char **field, int max_len) +change_name_field(char *msg, char **field, size_t max_len) { char *tmp; int ret;