Compiler_Warnings: Fix a whitespace error.

This commit is contained in:
Sebastian Lackner 2016-03-25 03:02:09 +01:00
parent b550faff6a
commit 20c3485cf8

View File

@ -1,13 +1,13 @@
From a273dda8bac492d1b04ba3b325599d7a3c5330b2 Mon Sep 17 00:00:00 2001
From 59f0bb786dc3ec4e77cb43ea4410743ecd317bbf Mon Sep 17 00:00:00 2001
From: Sebastian Lackner <sebastian@fds-team.de>
Date: Tue, 22 Mar 2016 23:08:30 +0100
Subject: include: Check element type in CONTAINING_RECORD and similar macros.
---
include/wine/list.h | 10 ++++++++--
include/wine/rbtree.h | 12 ++++++++++--
include/wine/rbtree.h | 10 ++++++++--
include/winnt.h | 10 ++++++++--
3 files changed, 26 insertions(+), 6 deletions(-)
3 files changed, 24 insertions(+), 6 deletions(-)
diff --git a/include/wine/list.h b/include/wine/list.h
index b4d681f..287ad39 100644
@ -30,10 +30,10 @@ index b4d681f..287ad39 100644
#endif /* __WINE_SERVER_LIST_H */
diff --git a/include/wine/rbtree.h b/include/wine/rbtree.h
index 13452d9..a5a1cdd 100644
index 13452d9..554d239 100644
--- a/include/wine/rbtree.h
+++ b/include/wine/rbtree.h
@@ -22,8 +22,16 @@
@@ -22,8 +22,14 @@
#ifndef __WINE_WINE_RBTREE_H
#define __WINE_WINE_RBTREE_H
@ -47,8 +47,6 @@ index 13452d9..a5a1cdd 100644
+# define WINE_RB_ENTRY_VALUE(element, type, field) \
+ ((type *)((char *)(element) - offsetof(type, field)))
+#endif
+
+
struct wine_rb_entry
{