MAX_FORMAT_BUFFER should be type size_t to reduce warnings
authorKen Raeburn <raeburn@mit.edu>
Sun, 25 Mar 2007 23:10:24 +0000 (23:10 +0000)
committerKen Raeburn <raeburn@mit.edu>
Sun, 25 Mar 2007 23:10:24 +0000 (23:10 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19284 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/os/an_to_ln.c

index 1df75b188ba1cbf05a0c74da226fb7705017d5fe..0d31883099b7e1f611588aacede4fbf82f4a82cf 100644 (file)
@@ -47,7 +47,7 @@
 #include <regexpr.h>
 #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 */