Commit a7c1102b authored by Steven Edwards's avatar Steven Edwards Committed by Alexandre Julliard

Porting fixes.

parent ed212f72
...@@ -84,7 +84,7 @@ long drive_available_mask(char letter) ...@@ -84,7 +84,7 @@ long drive_available_mask(char letter)
return result; 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); int driveIndex = letter_to_index(letter);
......
...@@ -91,11 +91,11 @@ static void set_advanced(HWND dialog) ...@@ -91,11 +91,11 @@ static void set_advanced(HWND dialog)
} }
struct drive_typemap { struct drive_typemap {
const uint sCode; unsigned int sCode;
const char *sDesc; const char *sDesc;
}; };
static struct drive_typemap type_pairs[] = { static const struct drive_typemap type_pairs[] = {
{ DRIVE_FIXED, "Local hard disk" }, { DRIVE_FIXED, "Local hard disk" },
{ DRIVE_REMOTE, "Network share" }, { DRIVE_REMOTE, "Network share" },
{ DRIVE_REMOVABLE, "Floppy disk" }, { DRIVE_REMOVABLE, "Floppy disk" },
...@@ -334,7 +334,7 @@ void on_remove_click(HWND dialog) ...@@ -334,7 +334,7 @@ void on_remove_click(HWND dialog)
static void update_controls(HWND dialog) static void update_controls(HWND dialog)
{ {
char *path; char *path;
uint type; unsigned int type;
char *label; char *label;
char *serial; char *serial;
char *device; char *device;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment