Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZoltan Varga <vargaz@gmail.com>2016-12-13 19:40:10 +0300
committerZoltan Varga <vargaz@gmail.com>2017-01-04 20:53:22 +0300
commit7e89965aed41ae81f636c0c13f9a4da6e4d1abba (patch)
treecf92bc8e4c0e1e922c4a05822e3d01fbbde39c84
parentda06f251144b79bf71e283008719af1cb12530dd (diff)
Fix a warning.
-rw-r--r--mono/mini/unwind.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mono/mini/unwind.c b/mono/mini/unwind.c
index 6282ee96211..712295c6da7 100644
--- a/mono/mini/unwind.c
+++ b/mono/mini/unwind.c
@@ -113,7 +113,7 @@ static int map_hw_reg_to_dwarf_reg [16];
#define NUM_HW_REGS (sizeof (map_hw_reg_to_dwarf_reg) / sizeof (int))
#ifndef IS_DOUBLE_REG
-#define IS_DOUBLE_REG(dwarf_reg) 0
+#define IS_DOUBLE_REG(dwarf_reg) (dwarf_reg ? 0 : 0)
#endif
static gboolean dwarf_reg_to_hw_reg_inited;