[Wine-patches] [eterhack] [eter-1.0.12] ntdll: Fix a warning.

Alexander Morozov amorozov на etersoft.ru
Ср Дек 29 20:14:18 MSK 2010


----------- следующая часть -----------
From ba12451570965b45d430c2174a92c02e1a84d556 Mon Sep 17 00:00:00 2001
From: Alexander Morozov <amorozov на etersoft.ru>
Date: Wed, 29 Dec 2010 20:11:05 +0300
Subject: [PATCH] ntdll: Fix a warning.

---
 dlls/ntdll/file.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/ntdll/file.c b/dlls/ntdll/file.c
index 8486cc5..5b47474 100644
--- a/dlls/ntdll/file.c
+++ b/dlls/ntdll/file.c
@@ -955,7 +955,7 @@ NTSTATUS WINAPI NtWriteFile(HANDLE hFile, HANDLE hEvent,
                                  &needs_close, &type, &options );
     if (status == STATUS_BAD_DEVICE_TYPE)
         return server_ioctl_file( hFile, hEvent, apc, apc_user, io_status,
-                                  IOCTL_WINE_DRIVER_WRITE, buffer, length, buffer, length );
+                                  IOCTL_WINE_DRIVER_WRITE, buffer, length, (PVOID)buffer, length );
     if (status) return status;
 
     if (!virtual_check_buffer_for_read( buffer, length ))
-- 
1.7.3.4



Подробная информация о списке рассылки Wine-patches