Author: fireball
Date: Mon Nov 24 06:14:48 2008
New Revision: 37609
URL:
http://svn.reactos.org/svn/reactos?rev=37609&view=rev
Log:
- Get rid of warnings.
Modified:
trunk/reactos/drivers/storage/class/cdrom/cdrom.c
trunk/reactos/drivers/storage/class/cdrom/cdrom.rbuild
Modified: trunk/reactos/drivers/storage/class/cdrom/cdrom.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/storage/class/cdro…
==============================================================================
--- trunk/reactos/drivers/storage/class/cdrom/cdrom.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/storage/class/cdrom/cdrom.c [iso-8859-1] Mon Nov 24 06:14:48
2008
@@ -2972,7 +2972,7 @@
}
- if (retry && (realIrpNextStack->Parameters.Others.Argument1 =
(ULONG)realIrpNextStack->Parameters.Others.Argument1-1)) {
+ if (retry && (realIrpNextStack->Parameters.Others.Argument1 =
(PVOID)((ULONG)realIrpNextStack->Parameters.Others.Argument1-1))) {
if (((ULONG)realIrpNextStack->Parameters.Others.Argument1)) {
@@ -3497,7 +3497,7 @@
retry = TRUE;
}
- if (retry && (realIrpNextStack->Parameters.Others.Argument1 =
(ULONG)realIrpNextStack->Parameters.Others.Argument1-1)) {
+ if (retry && (realIrpNextStack->Parameters.Others.Argument1 =
(PVOID)((ULONG)realIrpNextStack->Parameters.Others.Argument1-1))) {
if (((ULONG)realIrpNextStack->Parameters.Others.Argument1)) {
@@ -3823,7 +3823,7 @@
retry = TRUE;
}
- if (retry && (realIrpNextStack->Parameters.Others.Argument1 =
(ULONG)realIrpNextStack->Parameters.Others.Argument1-1)) {
+ if (retry && (realIrpNextStack->Parameters.Others.Argument1 =
(PVOID)((ULONG)realIrpNextStack->Parameters.Others.Argument1-1))) {
if (((ULONG)realIrpNextStack->Parameters.Others.Argument1)) {
@@ -4199,7 +4199,7 @@
retry = TRUE;
}
- if (retry && (irpNextStack->Parameters.Others.Argument1 =
(ULONG)irpNextStack->Parameters.Others.Argument1-1)) {
+ if (retry && (irpNextStack->Parameters.Others.Argument1 =
(PVOID)((ULONG)irpNextStack->Parameters.Others.Argument1-1))) {
if (((ULONG)irpNextStack->Parameters.Others.Argument1)) {
Modified: trunk/reactos/drivers/storage/class/cdrom/cdrom.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/storage/class/cdro…
==============================================================================
--- trunk/reactos/drivers/storage/class/cdrom/cdrom.rbuild [iso-8859-1] (original)
+++ trunk/reactos/drivers/storage/class/cdrom/cdrom.rbuild [iso-8859-1] Mon Nov 24
06:14:48 2008
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<!DOCTYPE module SYSTEM "../../../../tools/rbuild/project.dtd">
-<module name="cdrom" type="kernelmodedriver"
installbase="system32/drivers" installname="cdrom.sys"
allowwarnings="true">
+<module name="cdrom" type="kernelmodedriver"
installbase="system32/drivers" installname="cdrom.sys">
<bootstrap installbase="$(CDOUTPUT)" />
<library>ntoskrnl</library>
<library>hal</library>