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)
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);
......
......@@ -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;
......
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