diff --git a/source3/nmbd/nmbd_proto.h b/source3/nmbd/nmbd_proto.h index 4bcf100d5702..23b44e2d56a8 100644 --- a/source3/nmbd/nmbd_proto.h +++ b/source3/nmbd/nmbd_proto.h @@ -314,7 +314,7 @@ struct server_record *create_server_on_workgroup(struct work_record *work, int ttl, const char *comment); void update_server_ttl(struct server_record *servrec, int ttl); void expire_servers(struct work_record *work, time_t t); -void write_browse_list_entry(XFILE *fp, const char *name, uint32 rec_type, +void write_browse_list_entry(XFILE *fp, const char *name, uint32_t rec_type, const char *local_master_browser_name, const char *description); void write_browse_list(time_t t, bool force_write); diff --git a/source3/services/services.h b/source3/services/services.h index bbb1d60f1688..f65eed1df6d6 100644 --- a/source3/services/services.h +++ b/source3/services/services.h @@ -40,9 +40,9 @@ typedef struct { /* structure to store the service handle information */ typedef struct _ServiceInfo { - uint8 type; + uint8_t type; char *name; - uint32 access_granted; + uint32_t access_granted; SERVICE_CONTROL_OPS *ops; } SERVICE_INFO;