Commit 11144f86 authored by Mark Andrews's avatar Mark Andrews
Browse files

silence signed/unsigned comparision warning

parent b4cc5844
......@@ -31,7 +31,7 @@
/*
* Principal Author: Brian Wellington
* $Id: dst_api.c,v 1.32 2009/09/24 22:19:08 marka Exp $
* $Id: dst_api.c,v 1.33 2009/09/25 01:42:09 marka Exp $
*/
/*! \file */
......@@ -1509,7 +1509,7 @@ addsuffix(char *filename, unsigned int len, const char *odirname,
odirname, olen, ofilename, suffix);
if (n < 0)
return (ISC_R_FAILURE);
if (n >= len)
if ((unsigned int)n >= len)
return (ISC_R_NOSPACE);
return (ISC_R_SUCCESS);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment