Porting fixes.

This commit is contained in:
Steven Edwards 2005-03-14 10:05:12 +00:00 committed by Alexandre Julliard
parent ed212f728d
commit a7c1102bac
2 changed files with 4 additions and 4 deletions

View File

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

View File

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