Author: tfaber Date: Sun Oct 18 07:32:09 2015 New Revision: 69586
URL: http://svn.reactos.org/svn/reactos?rev=69586&view=rev Log: [EXT2FS] - Fix warnings
Modified: trunk/reactos/drivers/filesystems/ext2/CMakeLists.txt trunk/reactos/drivers/filesystems/ext2/inc/ext2fs.h trunk/reactos/drivers/filesystems/ext2/src/fastio.c trunk/reactos/drivers/filesystems/ext2/src/memory.c
Modified: trunk/reactos/drivers/filesystems/ext2/CMakeLists.txt URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/ext2/CM... ============================================================================== --- trunk/reactos/drivers/filesystems/ext2/CMakeLists.txt [iso-8859-1] (original) +++ trunk/reactos/drivers/filesystems/ext2/CMakeLists.txt [iso-8859-1] Sun Oct 18 07:32:09 2015 @@ -88,7 +88,6 @@ if(NOT MSVC) add_target_compile_flags(ext2fs "-Wno-pointer-sign -Wno-unused-function") if(NOT CMAKE_C_COMPILER_ID STREQUAL "Clang") - replace_compile_flags("-Werror" " ") add_target_compile_flags(ext2fs "-Wno-unused-but-set-variable -Wno-unused-variable -Wno-missing-braces") endif() else()
Modified: trunk/reactos/drivers/filesystems/ext2/inc/ext2fs.h URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/ext2/in... ============================================================================== --- trunk/reactos/drivers/filesystems/ext2/inc/ext2fs.h [iso-8859-1] (original) +++ trunk/reactos/drivers/filesystems/ext2/inc/ext2fs.h [iso-8859-1] Sun Oct 18 07:32:09 2015 @@ -2030,7 +2030,11 @@ BOOLEAN NTAPI Ext2FastIoUnlockAllByKey ( IN PFILE_OBJECT FileObject, +#ifdef __REACTOS__ + IN PVOID Process, +#else IN PEPROCESS Process, +#endif IN ULONG Key, OUT PIO_STATUS_BLOCK IoStatus, IN PDEVICE_OBJECT DeviceObject
Modified: trunk/reactos/drivers/filesystems/ext2/src/fastio.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/ext2/sr... ============================================================================== --- trunk/reactos/drivers/filesystems/ext2/src/fastio.c [iso-8859-1] (original) +++ trunk/reactos/drivers/filesystems/ext2/src/fastio.c [iso-8859-1] Sun Oct 18 07:32:09 2015 @@ -779,7 +779,11 @@ BOOLEAN NTAPI Ext2FastIoUnlockAllByKey ( IN PFILE_OBJECT FileObject, +#ifdef __REACTOS__ + IN PVOID Process, +#else IN PEPROCESS Process, +#endif IN ULONG Key, OUT PIO_STATUS_BLOCK IoStatus, IN PDEVICE_OBJECT DeviceObject
Modified: trunk/reactos/drivers/filesystems/ext2/src/memory.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/ext2/sr... ============================================================================== --- trunk/reactos/drivers/filesystems/ext2/src/memory.c [iso-8859-1] (original) +++ trunk/reactos/drivers/filesystems/ext2/src/memory.c [iso-8859-1] Sun Oct 18 07:32:09 2015 @@ -2077,7 +2077,12 @@ k < ParamPattern[i].Length && Params->Buffer[j+k] != L';' && Params->Buffer[j+k] != L',' ) { +#ifdef __REACTOS__ + ParamPattern[i].uValue[k] = Params->Buffer[j + k]; + k++; +#else ParamPattern[i].uValue[k] = Params->Buffer[j + k++]; +#endif } if (k) { NTSTATUS status;