<div dir="ltr">LGTM<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 26, 2017 at 6:05 AM, Lionel Landwerlin <span dir="ltr"><<a href="mailto:lionel.g.landwerlin@intel.com" target="_blank">lionel.g.landwerlin@intel.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Reviewed-by: Lionel Landwerlin <<a href="mailto:lionel.g.landwerlin@intel.com" target="_blank">lionel.g.landwerlin@intel.com</a><wbr>><span class="im HOEnZb"><br>
<br>
On 26/01/17 13:18, Emil Velikov wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
From: Emil Velikov <<a href="mailto:emil.velikov@collabora.com" target="_blank">emil.velikov@collabora.com</a>><br>
<br>
MSVC warns about different const qualifiers. Add the extra const to<br>
silence it.<br>
<br>
nir_phi_builder.c(244) : warning C4090: 'initializing' : different 'const' qualifiers<br>
nir_phi_builder.c(245) : warning C4090: 'initializing' : different 'const' qualifiers<br>
<br>
Signed-off-by: Emil Velikov <<a href="mailto:emil.velikov@collabora.com" target="_blank">emil.velikov@collabora.com</a>><br>
---<br>
  src/compiler/nir/nir_phi_build<wbr>er.c | 4 ++--<br>
  1 file changed, 2 insertions(+), 2 deletions(-)<br>
<br>
diff --git a/src/compiler/nir/nir_phi_bui<wbr>lder.c b/src/compiler/nir/nir_phi_bui<wbr>lder.c<br>
index acfc771da2..883884bb7f 100644<br>
--- a/src/compiler/nir/nir_phi_bui<wbr>lder.c<br>
+++ b/src/compiler/nir/nir_phi_bui<wbr>lder.c<br>
@@ -241,8 +241,8 @@ nir_phi_builder_value_get_bloc<wbr>k_def(struct nir_phi_builder_value *val,<br>
  static int<br>
  compare_blocks(const void *_a, const void *_b)<br>
  {<br>
-   nir_block * const * a = _a;<br>
-   nir_block * const * b = _b;<br>
+   const nir_block * const * a = _a;<br>
+   const nir_block * const * b = _b;<br>
       return (*a)->index - (*b)->index;<br>
  }<br>
</blockquote>
<br>
<br></span><div class="HOEnZb"><div class="h5">
______________________________<wbr>_________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org" target="_blank">mesa-dev@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/mesa-dev</a><br>
</div></div></blockquote></div><br></div>