]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
silence comiler warning
authorMark Andrews <marka@isc.org>
Sat, 10 Oct 2009 01:13:39 +0000 (01:13 +0000)
committerMark Andrews <marka@isc.org>
Sat, 10 Oct 2009 01:13:39 +0000 (01:13 +0000)
lib/dns/dst_api.c

index 1ea844e06e6432f8767b9fb37a551eb6079baf66..fd39b1ccf7da767dc5a56b86b57f23943c62809d 100644 (file)
@@ -31,7 +31,7 @@
 
 /*
  * Principal Author: Brian Wellington
- * $Id: dst_api.c,v 1.35 2009/10/09 06:09:21 each Exp $
+ * $Id: dst_api.c,v 1.36 2009/10/10 01:13:39 marka Exp $
  */
 
 /*! \file */
@@ -1548,7 +1548,7 @@ addsuffix(char *filename, int len, const char *odirname,
                             odirname, olen, ofilename, suffix);
        if (n < 0)
                return (ISC_R_FAILURE);
-       if ((unsigned int)n >= len)
+       if (n >= len)
                return (ISC_R_NOSPACE);
        return (ISC_R_SUCCESS);
 }