You've already forked wine-staging
mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2025-09-12 18:50:20 -07:00
Fix compiler warnings in multiple patches.
This commit is contained in:
@@ -1,13 +1,14 @@
|
||||
From e68b9f65a4f9c7f9c10b11152cac04bcdf6facf9 Mon Sep 17 00:00:00 2001
|
||||
From ef9a368177cf6f1a1ca7f99fd3ae0b8b6918160a Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Michael=20M=C3=BCller?= <michael@fds-team.de>
|
||||
Date: Mon, 8 Feb 2016 04:44:24 +0100
|
||||
Subject: avifile.dll16: Correctly convert result of AVIStreamGetFrame to a segptr.
|
||||
Subject: avifile.dll16: Correctly convert result of AVIStreamGetFrame to a
|
||||
segptr.
|
||||
|
||||
---
|
||||
dlls/avifile.dll16/Makefile.in | 3 +
|
||||
dlls/avifile.dll16/avifile.dll16.spec | 6 +-
|
||||
dlls/avifile.dll16/main.c | 137 ++++++++++++++++++++++++++++++++++
|
||||
3 files changed, 143 insertions(+), 3 deletions(-)
|
||||
dlls/avifile.dll16/main.c | 133 ++++++++++++++++++++++++++++++++++
|
||||
3 files changed, 139 insertions(+), 3 deletions(-)
|
||||
create mode 100644 dlls/avifile.dll16/main.c
|
||||
|
||||
diff --git a/dlls/avifile.dll16/Makefile.in b/dlls/avifile.dll16/Makefile.in
|
||||
@@ -40,10 +41,10 @@ index 71a6c74..0e19413 100644
|
||||
122 stub AVISAVEOPTIONS
|
||||
diff --git a/dlls/avifile.dll16/main.c b/dlls/avifile.dll16/main.c
|
||||
new file mode 100644
|
||||
index 0000000..f780c43
|
||||
index 0000000..9e1faac
|
||||
--- /dev/null
|
||||
+++ b/dlls/avifile.dll16/main.c
|
||||
@@ -0,0 +1,137 @@
|
||||
@@ -0,0 +1,133 @@
|
||||
+/*
|
||||
+ * Wrapper for 16 bit avifile functions
|
||||
+ *
|
||||
@@ -69,10 +70,6 @@ index 0000000..f780c43
|
||||
+#include "wingdi.h"
|
||||
+#include "vfw.h"
|
||||
+
|
||||
+#include "wine/debug.h"
|
||||
+
|
||||
+WINE_DEFAULT_DEBUG_CHANNEL(avifile16);
|
||||
+
|
||||
+struct frame_wrapper16
|
||||
+{
|
||||
+ PGETFRAME pg;
|
||||
@@ -182,5 +179,5 @@ index 0000000..f780c43
|
||||
+ return hr;
|
||||
+}
|
||||
--
|
||||
2.7.0
|
||||
2.9.0
|
||||
|
||||
|
@@ -1,7 +1,8 @@
|
||||
From 3cdd530b2c17ee0cdc6a1fcc37b28c180310656a Mon Sep 17 00:00:00 2001
|
||||
From b64fdb26c0d998e97f8d4d5193108d92bd0ee0dc Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Michael=20M=C3=BCller?= <michael@fds-team.de>
|
||||
Date: Mon, 8 Feb 2016 14:02:09 +0100
|
||||
Subject: avifile.dll16: Convert between AVISTREAMINFO (16 bit) and AVISTREAMINFOA.
|
||||
Subject: avifile.dll16: Convert between AVISTREAMINFO (16 bit) and
|
||||
AVISTREAMINFOA.
|
||||
|
||||
---
|
||||
dlls/avifile.dll16/avifile.dll16.spec | 4 +-
|
||||
@@ -29,12 +30,12 @@ index 0e19413..7a1aaea 100644
|
||||
164 pascal AVIStreamReadFormat(long long ptr ptr) AVIStreamReadFormat
|
||||
165 pascal AVIStreamReadData(long long ptr ptr) AVIStreamReadData
|
||||
diff --git a/dlls/avifile.dll16/main.c b/dlls/avifile.dll16/main.c
|
||||
index f780c43..8df1fe5 100644
|
||||
index 9e1faac..8bb1769 100644
|
||||
--- a/dlls/avifile.dll16/main.c
|
||||
+++ b/dlls/avifile.dll16/main.c
|
||||
@@ -27,6 +27,27 @@
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(avifile16);
|
||||
@@ -23,6 +23,27 @@
|
||||
#include "wingdi.h"
|
||||
#include "vfw.h"
|
||||
|
||||
+typedef struct _AVISTREAMINFO16 {
|
||||
+ DWORD fccType;
|
||||
@@ -60,7 +61,7 @@ index f780c43..8df1fe5 100644
|
||||
struct frame_wrapper16
|
||||
{
|
||||
PGETFRAME pg;
|
||||
@@ -135,3 +156,82 @@ HRESULT WINAPI AVIStreamGetFrameClose16(PGETFRAME pg)
|
||||
@@ -131,3 +152,82 @@ HRESULT WINAPI AVIStreamGetFrameClose16(PGETFRAME pg)
|
||||
HeapFree(GetProcessHeap(), 0, wrapper);
|
||||
return hr;
|
||||
}
|
||||
@@ -144,5 +145,5 @@ index f780c43..8df1fe5 100644
|
||||
+ return hr;
|
||||
+}
|
||||
--
|
||||
2.7.0
|
||||
2.9.0
|
||||
|
||||
|
Reference in New Issue
Block a user