mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 13:45:56 +00:00
fix compilation of usetup
svn path=/trunk/; revision=27976
This commit is contained in:
parent
c50397f0e4
commit
40c483fa1a
3 changed files with 8 additions and 8 deletions
|
@ -1543,7 +1543,7 @@ ShowPartitionSizeInputBox(SHORT Left,
|
||||||
coPos,
|
coPos,
|
||||||
&Written);
|
&Written);
|
||||||
|
|
||||||
sprintf (Buffer, "MB (max. %u MB)", MaxSize);
|
sprintf (Buffer, "MB (max. %lu MB)", MaxSize);
|
||||||
coPos.X = iLeft + PARTITION_SIZE_INPUT_FIELD_LENGTH + 1;
|
coPos.X = iLeft + PARTITION_SIZE_INPUT_FIELD_LENGTH + 1;
|
||||||
coPos.Y = iTop;
|
coPos.Y = iTop;
|
||||||
WriteConsoleOutputCharacterA (StdOutput,
|
WriteConsoleOutputCharacterA (StdOutput,
|
||||||
|
@ -1552,7 +1552,7 @@ ShowPartitionSizeInputBox(SHORT Left,
|
||||||
coPos,
|
coPos,
|
||||||
&Written);
|
&Written);
|
||||||
|
|
||||||
sprintf(Buffer, "%u", MaxSize);
|
sprintf(Buffer, "%lu", MaxSize);
|
||||||
Index = strlen(Buffer);
|
Index = strlen(Buffer);
|
||||||
DrawInputField (PARTITION_SIZE_INPUT_FIELD_LENGTH,
|
DrawInputField (PARTITION_SIZE_INPUT_FIELD_LENGTH,
|
||||||
iLeft,
|
iLeft,
|
||||||
|
@ -2465,7 +2465,7 @@ CheckFileSystemPage(PINPUT_RECORD Ir)
|
||||||
{
|
{
|
||||||
DPRINT("ChkdskPartition() failed with status 0x%08lx\n", Status);
|
DPRINT("ChkdskPartition() failed with status 0x%08lx\n", Status);
|
||||||
sprintf(Buffer, "Setup failed to verify the selected partition.\n"
|
sprintf(Buffer, "Setup failed to verify the selected partition.\n"
|
||||||
"(Status 0x%08x).\n", Status);
|
"(Status 0x%08lx).\n", Status);
|
||||||
PopupError(Buffer,
|
PopupError(Buffer,
|
||||||
"ENTER = Reboot computer",
|
"ENTER = Reboot computer",
|
||||||
Ir, POPUP_WAIT_ENTER);
|
Ir, POPUP_WAIT_ENTER);
|
||||||
|
|
|
@ -1271,7 +1271,7 @@ PrintDiskData (PPARTLIST List,
|
||||||
if (DiskEntry->DriverName.Length > 0)
|
if (DiskEntry->DriverName.Length > 0)
|
||||||
{
|
{
|
||||||
sprintf (LineBuffer,
|
sprintf (LineBuffer,
|
||||||
"%6lu %s Harddisk %u (Port=%hu, Bus=%hu, Id=%hu) on %S",
|
"%6lu %s Harddisk %lu (Port=%hu, Bus=%hu, Id=%hu) on %S",
|
||||||
DiskSize.u.LowPart,
|
DiskSize.u.LowPart,
|
||||||
Unit,
|
Unit,
|
||||||
DiskEntry->DiskNumber,
|
DiskEntry->DiskNumber,
|
||||||
|
@ -1283,7 +1283,7 @@ PrintDiskData (PPARTLIST List,
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
sprintf (LineBuffer,
|
sprintf (LineBuffer,
|
||||||
"%6lu %s Harddisk %u (Port=%hu, Bus=%hu, Id=%hu)",
|
"%6lu %s Harddisk %lu (Port=%hu, Bus=%hu, Id=%hu)",
|
||||||
DiskSize.u.LowPart,
|
DiskSize.u.LowPart,
|
||||||
Unit,
|
Unit,
|
||||||
DiskEntry->DiskNumber,
|
DiskEntry->DiskNumber,
|
||||||
|
|
|
@ -180,7 +180,7 @@ DrawProgressBar(PPROGRESSBAR Bar)
|
||||||
PROGRESSBAR BarBorder = *Bar;
|
PROGRESSBAR BarBorder = *Bar;
|
||||||
|
|
||||||
/* Print percentage */
|
/* Print percentage */
|
||||||
sprintf(TextBuffer, "%-3u%%", Bar->Percent);
|
sprintf(TextBuffer, "%-3lu%%", Bar->Percent);
|
||||||
|
|
||||||
coPos.X = Bar->Left + (Bar->Width - 2) / 2;
|
coPos.X = Bar->Left + (Bar->Width - 2) / 2;
|
||||||
coPos.Y = Bar->Top;
|
coPos.Y = Bar->Top;
|
||||||
|
@ -310,7 +310,7 @@ ProgressNextStep(PPROGRESSBAR Bar)
|
||||||
{
|
{
|
||||||
Bar->Percent = NewPercent;
|
Bar->Percent = NewPercent;
|
||||||
|
|
||||||
sprintf(TextBuffer, "%-3u%%", Bar->Percent);
|
sprintf(TextBuffer, "%-3lu%%", Bar->Percent);
|
||||||
|
|
||||||
coPos.X = Bar->Left + (Bar->Width - 2) / 2;
|
coPos.X = Bar->Left + (Bar->Width - 2) / 2;
|
||||||
coPos.Y = Bar->Top;
|
coPos.Y = Bar->Top;
|
||||||
|
@ -385,7 +385,7 @@ ProgressSetStep (PPROGRESSBAR Bar,
|
||||||
{
|
{
|
||||||
Bar->Percent = NewPercent;
|
Bar->Percent = NewPercent;
|
||||||
|
|
||||||
sprintf(TextBuffer, "%-3u%%", Bar->Percent);
|
sprintf(TextBuffer, "%-3lu%%", Bar->Percent);
|
||||||
|
|
||||||
coPos.X = Bar->Left + (Bar->Width - 2) / 2;
|
coPos.X = Bar->Left + (Bar->Width - 2) / 2;
|
||||||
coPos.Y = Bar->Top;
|
coPos.Y = Bar->Top;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue