Convert all uses of uint8/16/32 to _t in nmbd and the include file.
[kai/samba-autobuild/.git] / source3 / nmbd / nmbd_lmhosts.c
index c3eb2b58dd4adce164f6accc5b45c1239d3c346b..80d89930fd4336b4d6fef16555c0c79f90824f90 100644 (file)
@@ -70,11 +70,11 @@ void load_lmhosts_file(const char *fname)
 
                if(name_type == -1) {
                        /* Add the (0) and (0x20) names directly into the namelist for this subnet. */
-                       (void)add_name_to_subnet(subrec,name,0x00,(uint16)NB_ACTIVE,PERMANENT_TTL,source,1,&ipaddr);
-                       (void)add_name_to_subnet(subrec,name,0x20,(uint16)NB_ACTIVE,PERMANENT_TTL,source,1,&ipaddr);
+                       (void)add_name_to_subnet(subrec,name,0x00,(uint16_t)NB_ACTIVE,PERMANENT_TTL,source,1,&ipaddr);
+                       (void)add_name_to_subnet(subrec,name,0x20,(uint16_t)NB_ACTIVE,PERMANENT_TTL,source,1,&ipaddr);
                } else {
                        /* Add the given name type to the subnet namelist. */
-                       (void)add_name_to_subnet(subrec,name,name_type,(uint16)NB_ACTIVE,PERMANENT_TTL,source,1,&ipaddr);
+                       (void)add_name_to_subnet(subrec,name,name_type,(uint16_t)NB_ACTIVE,PERMANENT_TTL,source,1,&ipaddr);
                }
        }