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

index 0cc87bd3e04eef3b4d76d2e42e6fc59f10aa76ae..b1258372bc93df28055e16ae49ca38ab1217fc49 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: check.c,v 1.86.10.6 2008/11/16 21:04:03 marka Exp $ */
+/* $Id: check.c,v 1.86.10.7 2008/11/19 05:39:32 marka Exp $ */
 
 /*! \file */
 
@@ -761,7 +761,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;