]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
1204 -> 1024U
authorMark Andrews <marka@isc.org>
Wed, 19 Nov 2008 05:38:49 +0000 (05:38 +0000)
committerMark Andrews <marka@isc.org>
Wed, 19 Nov 2008 05:38:49 +0000 (05:38 +0000)
lib/bind9/check.c

index 27843aca65ee5b7e65342337a831b674a4aa225a..f47569100c04631db895ec31db8fb13b26765362 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: check.c,v 1.94 2008/11/16 20:57:55 marka Exp $ */
+/* $Id: check.c,v 1.95 2008/11/19 05:38:49 marka Exp $ */
 
 /*! \file */
 
@@ -799,7 +799,7 @@ check_options(const cfg_obj_t *options, isc_log_t *logctx, isc_mem_t *mctx) {
        obj = NULL;
        (void)cfg_map_get(options, "server-id", &obj);
        if (obj != NULL && cfg_obj_isstring(obj) &&
-           strlen(cfg_obj_asstring(obj)) > 1024) {
+           strlen(cfg_obj_asstring(obj)) > 1024U) {
                cfg_obj_log(obj, logctx, ISC_LOG_ERROR,
                            "'server-id' too big (>1024 bytes)");
                result = ISC_R_FAILURE;