]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Silence some warnings and errors
authorWitold Krecicki <wpk@isc.org>
Thu, 30 Aug 2018 11:16:15 +0000 (13:16 +0200)
committerEvan Hunt <each@isc.org>
Sat, 1 Sep 2018 00:33:03 +0000 (17:33 -0700)
lib/bind9/check.c
lib/isc/include/isc/socket.h

index 31fc6005a711e73c25a554e9b494fc5930ab53ac..5b7237f8b450cfe07fe287f31bc941cc339c0f4d 100644 (file)
@@ -1855,7 +1855,7 @@ check_update_policy(const cfg_obj_t *policy, isc_log_t *logctx) {
 
 typedef struct {
        const char *name;
-       int allowed;
+       unsigned int allowed;
 } optionstable;
 
 static isc_result_t
index f74e6464092a6d243cdd17309959e3a6f97e1f29..222c781c7f950ed918250be2d2b93b3592474bab 100644 (file)
@@ -9,8 +9,6 @@
  * information regarding copyright ownership.
  */
 
-/* $Id$ */
-
 #ifndef ISC_SOCKET_H
 #define ISC_SOCKET_H 1
 
@@ -259,7 +257,7 @@ struct isc_socket_connev {
  * _DSCP:      The UDP DSCP value is valid.
  * _USEMINMTU: Set the per packet IPV6_USE_MIN_MTU flag.
  */
-#define ISC_SOCKEVENTATTR_ATTACHED             0x80000000U /* internal */
+#define ISC_SOCKEVENTATTR_ATTACHED             0x10000000U /* internal */
 #define ISC_SOCKEVENTATTR_TRUNC                        0x00800000U /* public */
 #define ISC_SOCKEVENTATTR_CTRUNC               0x00400000U /* public */
 #define ISC_SOCKEVENTATTR_TIMESTAMP            0x00200000U /* public */