s3:nmbd: Fix size type in nmbd_browsesync.c
[samba.git] / source3 / nmbd / nmbd_browsesync.c
index 30d2891a863619e599ce68a0403b312d08545767..6f90e613478cdb00121fbcc3f04298d6cbe2b154 100644 (file)
@@ -202,7 +202,7 @@ static void domain_master_node_status_success(struct subnet_record *subrec,
 
                while (numnames--) {
                        unstring qname;
-                       uint16 nb_flags;
+                       uint16_t nb_flags;
                        int name_type;
 
                        pull_ascii_nstring(qname, sizeof(qname), p);
@@ -424,7 +424,7 @@ static void get_domain_master_name_node_status_success(struct subnet_record *sub
 
                while (numnames--) {
                        unstring qname;
-                       uint16 nb_flags;
+                       uint16_t nb_flags;
                        int name_type;
 
                        pull_ascii_nstring(qname, sizeof(qname), p);
@@ -629,7 +629,7 @@ void sync_all_dmbs(time_t t)
 {
        static time_t lastrun = 0;
        struct work_record *work;
-       int count=0;
+       size_t count=0;
 
        /* Only do this if we are using a WINS server. */
        if(we_are_a_wins_client() == False)