- Fix warnings
Modified: trunk/reactos/subsys/system/usetup/partlist.c
Modified: trunk/reactos/subsys/system/usetup/usetup.h
_____
Modified: trunk/reactos/subsys/system/usetup/partlist.c
--- trunk/reactos/subsys/system/usetup/partlist.c 2005-07-27
00:50:24 UTC (rev 16766)
+++ trunk/reactos/subsys/system/usetup/partlist.c 2005-07-27
00:54:07 UTC (rev 16767)
@@ -918,14 +918,14 @@
if (DiskEntry->DriverName.Length > 0)
{
sprintf (LineBuffer,
- "%6I64u %s Harddisk %lu (Port=%hu, Bus=%hu, Id=%hu) on
%wZ",
+ "%6I64u %s Harddisk %lu (Port=%hu, Bus=%hu, Id=%hu) on
%S",
DiskSize,
Unit,
DiskEntry->DiskNumber,
DiskEntry->Port,
DiskEntry->Bus,
DiskEntry->Id,
- &DiskEntry->DriverName);
+ DiskEntry->DriverName.Buffer);
}
else
{
_____
Modified: trunk/reactos/subsys/system/usetup/usetup.h
--- trunk/reactos/subsys/system/usetup/usetup.h 2005-07-27 00:50:24 UTC
(rev 16766)
+++ trunk/reactos/subsys/system/usetup/usetup.h 2005-07-27 00:54:07 UTC
(rev 16767)
@@ -27,6 +27,10 @@
#ifndef __USETUP_H__
#define __USETUP_H__
+/* C Headers */
+#include <ctype.h>
+#include <stdio.h>
+
/* PSDK/NDK */
#include <windows.h>
#include <fmifs/fmifs.h>
Show replies by date