diff options
author | Jan Vorlicek <janvorli@microsoft.com> | 2017-04-26 07:10:13 -0700 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2017-04-26 07:10:13 -0700 |
commit | 8b1595b74c943b33fa794e63e440e6f4c9679478 (patch) | |
tree | 3cfe07eef3814122e00ffee6b8ad8cdc93b864ed /src/gc | |
parent | a5a8c6cdc6e3b732fc5a344878b165f149d99729 (diff) | |
download | coreclr-8b1595b74c943b33fa794e63e440e6f4c9679478.tar.gz coreclr-8b1595b74c943b33fa794e63e440e6f4c9679478.tar.bz2 coreclr-8b1595b74c943b33fa794e63e440e6f4c9679478.zip |
Enable build with clang 4.0 (#11226)
This change enables build with clang 4.0 and fixes a bunch of new errors that
the stricter compiler was reporting.
Diffstat (limited to 'src/gc')
-rw-r--r-- | src/gc/gc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gc/gc.cpp b/src/gc/gc.cpp index 745b24f591..08de1facb2 100644 --- a/src/gc/gc.cpp +++ b/src/gc/gc.cpp @@ -20356,7 +20356,7 @@ size_t gc_heap::update_brick_table (uint8_t* tree, size_t current_brick, dprintf (3, ("tree: %Ix, current b: %Ix, x: %Ix, plug_end: %Ix", tree, current_brick, x, plug_end)); - if (tree > 0) + if (tree != NULL) { dprintf (3, ("b- %Ix->%Ix pointing to tree %Ix", current_brick, (size_t)(tree - brick_address (current_brick)), tree)); |