From 6f5805bd031db216f5faf39b9119bd1aab457374 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Mon, 4 Apr 2005 18:01:35 +0000 Subject: [PATCH] max-life and max-renew is of unsigned int in asn1 compiler, use that for the parser too git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14737 ec53bebd-3082-4978-b11e-865c3cabbd6b --- kadmin/load.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/kadmin/load.c b/kadmin/load.c index b739da9e1..a1ad6a2ee 100644 --- a/kadmin/load.c +++ b/kadmin/load.c @@ -117,7 +117,7 @@ parse_time_string_alloc (time_t **t, const char *s) */ static int -parse_integer(unsigned *u, const char *s) +parse_integer(unsigned int *u, const char *s) { if(strcmp(s, "-") == 0) return 0; @@ -127,9 +127,9 @@ parse_integer(unsigned *u, const char *s) } static int -parse_integer_alloc (int **u, const char *s) +parse_integer_alloc (unsigned int **u, const char *s) { - unsigned tmp; + unsigned int tmp; int ret; *u = NULL; @@ -275,7 +275,7 @@ static int parse_hdbflags2int(HDBFlags *f, const char *s) { int ret; - unsigned tmp; + unsigned int tmp; ret = parse_integer (&tmp, s); if (ret == 1)