]> git.deb.at Git - pkg/abook.git/commitdiff
* max_len should be size_t
authorJaakko Heinonen <jheinonen@users.sourceforge.net>
Wed, 30 Aug 2006 10:49:34 +0000 (10:49 +0000)
committerJaakko Heinonen <jheinonen@users.sourceforge.net>
Wed, 30 Aug 2006 10:49:34 +0000 (10:49 +0000)
edit.c

diff --git a/edit.c b/edit.c
index 17ac5f3f876579adf03503d85a176fa6f14d1d0c..5f889f47f03a2c9e6667b9d5ca1a01f084edc614 100644 (file)
--- 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;