2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

silence comiler warning

This commit is contained in:
Mark Andrews
2009-10-10 01:13:39 +00:00
parent 8a07de2f03
commit 0d9fb986c5

View 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);
}