diff --git a/programs/winecfg/drive.c b/programs/winecfg/drive.c index 6624fdcafbc..e1f52452d3e 100644 --- a/programs/winecfg/drive.c +++ b/programs/winecfg/drive.c @@ -84,7 +84,7 @@ long drive_available_mask(char letter) return result; } -BOOL add_drive(char letter, char *targetpath, char *label, char *serial, uint type) +BOOL add_drive(char letter, char *targetpath, char *label, char *serial, unsigned int type) { int driveIndex = letter_to_index(letter); diff --git a/programs/winecfg/driveui.c b/programs/winecfg/driveui.c index a485ff662a9..bce6a256a25 100644 --- a/programs/winecfg/driveui.c +++ b/programs/winecfg/driveui.c @@ -91,11 +91,11 @@ static void set_advanced(HWND dialog) } struct drive_typemap { - const uint sCode; + unsigned int sCode; const char *sDesc; }; -static struct drive_typemap type_pairs[] = { +static const struct drive_typemap type_pairs[] = { { DRIVE_FIXED, "Local hard disk" }, { DRIVE_REMOTE, "Network share" }, { DRIVE_REMOVABLE, "Floppy disk" }, @@ -334,7 +334,7 @@ void on_remove_click(HWND dialog) static void update_controls(HWND dialog) { char *path; - uint type; + unsigned int type; char *label; char *serial; char *device;