From: Ken Raeburn Date: Sun, 25 Mar 2007 23:10:24 +0000 (+0000) Subject: MAX_FORMAT_BUFFER should be type size_t to reduce warnings X-Git-Tag: krb5-1.7-alpha1~1218 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a8c6f3b161bc37e0695c385c25fe12c713d46193;p=krb5.git MAX_FORMAT_BUFFER should be type size_t to reduce warnings git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19284 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/os/an_to_ln.c b/src/lib/krb5/os/an_to_ln.c index 1df75b188..0d3188309 100644 --- a/src/lib/krb5/os/an_to_ln.c +++ b/src/lib/krb5/os/an_to_ln.c @@ -47,7 +47,7 @@ #include #endif /* !HAVE_REGCOMP && HAVE_REGEXP_H && HAVE_COMPILE */ -#define MAX_FORMAT_BUFFER 1024 +#define MAX_FORMAT_BUFFER ((size_t)1024) #ifndef min #define min(a,b) ((a>b) ? b : a) #endif /* min */