Commit fd8d0bab authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

setupapi: Use correct integral type.

parent 6483bf16
......@@ -826,7 +826,7 @@ static BOOL profile_items_callback( HINF hinf, PCWSTR field, void *arg )
{
WCHAR lnkpath[MAX_PATH];
LPWSTR cmdline=NULL, lnkpath_end;
unsigned int name_size;
DWORD name_size;
INFCONTEXT name_context, context;
int attrs=0;
......@@ -846,7 +846,7 @@ static BOOL profile_items_callback( HINF hinf, PCWSTR field, void *arg )
if (!(attrs & FLG_PROFITEM_GROUP) && SetupFindFirstLineW( hinf, field, L"SubDir", &context ))
{
unsigned int subdir_size;
DWORD subdir_size;
if (!SetupGetStringFieldW( &context, 1, lnkpath_end, (lnkpath+MAX_PATH)-lnkpath_end, &subdir_size ))
return TRUE;
......@@ -878,7 +878,8 @@ static BOOL profile_items_callback( HINF hinf, PCWSTR field, void *arg )
/* calculate command line */
if (SetupFindFirstLineW( hinf, field, L"CmdLine", &context ))
{
unsigned int dir_len=0, subdir_size=0, filename_size=0;
unsigned int dir_len=0;
DWORD subdir_size=0, filename_size=0;
int dirid=0;
LPCWSTR dir;
LPWSTR cmdline_end;
......
......@@ -1275,7 +1275,7 @@ BOOL WINAPI SetupInstallFileExW( HINF hinf, PINFCONTEXT inf_context, PCWSTR sour
{
BOOL ret, absolute = (root && *root && !(style & SP_COPY_SOURCE_ABSOLUTE));
WCHAR *buffer, *p, *inf_source = NULL, dest_path[MAX_PATH];
unsigned int len;
DWORD len;
TRACE("%p %p %s %s %s %x %p %p %p\n", hinf, inf_context, debugstr_w(source), debugstr_w(root),
debugstr_w(dest), style, handler, context, in_use);
......
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