Commit c59bf663 authored by Mark Andrews's avatar Mark Andrews

silence warning

parent bace0331
......@@ -335,7 +335,7 @@ isc_file_template(const char *path, const char *templet, char *buf,
if (s != NULL) {
size_t prefixlen = s - path + 1;
if ((prefixlen + strlen(templet) + 1) > (ssize_t)buflen)
if ((prefixlen + strlen(templet) + 1) > buflen)
return (ISC_R_NOSPACE);
/* Copy 'prefixlen' bytes and NUL terminate. */
......
Markdown is supported
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