[ros-diffs] [cgutman] 46408: [DDK] - Fix a signedness warning

cgutman at svn.reactos.org cgutman at svn.reactos.org
Wed Mar 24 23:56:16 CET 2010


Author: cgutman
Date: Wed Mar 24 23:56:16 2010
New Revision: 46408

URL: http://svn.reactos.org/svn/reactos?rev=46408&view=rev
Log:
[DDK]
 - Fix a signedness warning

Modified:
    trunk/reactos/include/ddk/acpiioct.h

Modified: trunk/reactos/include/ddk/acpiioct.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/ddk/acpiioct.h?rev=46408&r1=46407&r2=46408&view=diff
==============================================================================
--- trunk/reactos/include/ddk/acpiioct.h [iso-8859-1] (original)
+++ trunk/reactos/include/ddk/acpiioct.h [iso-8859-1] Wed Mar 24 23:56:16 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