[ros-diffs] [akhaldi] 46411: [DDK] - Bring in the signedness warning fix by aicom.

akhaldi at svn.reactos.org akhaldi at svn.reactos.org
Thu Mar 25 00:04:11 CET 2010


Author: akhaldi
Date: Thu Mar 25 00:04:11 2010
New Revision: 46411

URL: http://svn.reactos.org/svn/reactos?rev=46411&view=rev
Log:
[DDK]
- Bring in the signedness warning fix by aicom.

Modified:
    branches/header-work/include/ddk/acpiioct.h

Modified: branches/header-work/include/ddk/acpiioct.h
URL: http://svn.reactos.org/svn/reactos/branches/header-work/include/ddk/acpiioct.h?rev=46411&r1=46410&r2=46411&view=diff
==============================================================================
--- branches/header-work/include/ddk/acpiioct.h [iso-8859-1] (original)
+++ branches/header-work/include/ddk/acpiioct.h [iso-8859-1] Thu Mar 25 00:04:11 2010
@@ -159,7 +159,7 @@
 
 #define ACPI_METHOD_SET_ARGUMENT_STRING( Argument, StrData )                \
     { Argument->Type = ACPI_METHOD_ARGUMENT_STRING;                         \
-      Argument->DataLength = strlen((PUCHAR)StrData) + sizeof(UCHAR);       \
+      Argument->DataLength = strlen((PCHAR)StrData) + sizeof(UCHAR);       \
       RtlCopyMemory(&Argument->Data[0],(PUCHAR)StrData,Argument->DataLength); }
 
 #define ACPI_METHOD_SET_ARGUMENT_BUFFER( Argument, BuffData, BuffLength )   \




More information about the Ros-diffs mailing list