<!DOCTYPE html>
<html>
  <head>
  </head>
  <body>
    <dl style="line-height: 1.5; margin-left: 2em">
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Author</dt>
      <dd style="margin-left: 8.5em">Kouhei Sutou &lt;kou****@clear*****&gt;</dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Date</dt>
      <dd style="margin-left: 8.5em">2018-02-08 22:31:37 +0900 (Thu, 08 Feb 2018)</dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">New Revision</dt>
      <dd style="margin-left: 8.5em"><a href="https://github.com/groonga/groonga/commit/ab014033e3a1476e5fe0d203b0fc8184333c4373">ab014033e3a1476e5fe0d203b0fc8184333c4373</a></dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Message</dt>
      <dd style="margin-left: 8.5em"><pre style="border: 1px solid #aaa; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; padding: 0.5em; width: auto">Suppress wrong Visual C++ warning

    groonga\lib\db.c(13570): error C4090: &#39;function&#39;: different &#39;const&#39; qualifiers
    groonga\lib\db.c(13656): error C4090: &#39;function&#39;: different &#39;const&#39; qualifiers</pre></dd>
      <dt style="clear: both; float: left; font-weight: bold; width: 8em">Modified files</dt>
      <dd style="margin-left: 8.5em">
        <ul>
          <li><a href="https://github.com/groonga/groonga/commit/ab014033e3a1476e5fe0d203b0fc8184333c4373#diff-f96f0bc0782547730f4a2616bfb33863">lib/db.c</a></li>
        </ul>
      </dd>
    </dl>

    <div class="diff-section" style="clear: both">
      <table style="border-collapse: collapse; border: 1px solid #aaa">
        <thead>
          <tr class="diff-header" style="border: 1px solid #aaa">
            <td colspan="3">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">  Modified: lib/db.c (+4 -2)</span>
<span class="diff-header-mark" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">===================================================================</span>
</pre>
            </td>
          </tr>
        </thead>
        <tbody>
          <tr>
            <th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ab014033e3a1476e5fe0d203b0fc8184333c4373#diff-f96f0bc0782547730f4a2616bfb33863L13566">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ab014033e3a1476e5fe0d203b0fc8184333c4373#diff-f96f0bc0782547730f4a2616bfb33863L13567">13567</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ab014033e3a1476e5fe0d203b0fc8184333c4373#diff-f96f0bc0782547730f4a2616bfb33863L13568">13568</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ab014033e3a1476e5fe0d203b0fc8184333c4373#diff-f96f0bc0782547730f4a2616bfb33863L13569">13569</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ab014033e3a1476e5fe0d203b0fc8184333c4373#diff-f96f0bc0782547730f4a2616bfb33863L13570">13570</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ab014033e3a1476e5fe0d203b0fc8184333c4373#diff-f96f0bc0782547730f4a2616bfb33863L13571">13571</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ab014033e3a1476e5fe0d203b0fc8184333c4373#diff-f96f0bc0782547730f4a2616bfb33863L13572">13572</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ab014033e3a1476e5fe0d203b0fc8184333c4373#diff-f96f0bc0782547730f4a2616bfb33863L13573">13573</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ab014033e3a1476e5fe0d203b0fc8184333c4373#diff-f96f0bc0782547730f4a2616bfb33863L13652">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ab014033e3a1476e5fe0d203b0fc8184333c4373#diff-f96f0bc0782547730f4a2616bfb33863L13653">13653</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ab014033e3a1476e5fe0d203b0fc8184333c4373#diff-f96f0bc0782547730f4a2616bfb33863L13654">13654</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ab014033e3a1476e5fe0d203b0fc8184333c4373#diff-f96f0bc0782547730f4a2616bfb33863L13655">13655</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ab014033e3a1476e5fe0d203b0fc8184333c4373#diff-f96f0bc0782547730f4a2616bfb33863L13656">13656</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ab014033e3a1476e5fe0d203b0fc8184333c4373#diff-f96f0bc0782547730f4a2616bfb33863L13657">13657</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ab014033e3a1476e5fe0d203b0fc8184333c4373#diff-f96f0bc0782547730f4a2616bfb33863L13658">13658</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ab014033e3a1476e5fe0d203b0fc8184333c4373#diff-f96f0bc0782547730f4a2616bfb33863L13659">13659</a></span>
</pre>
            </th>
            <th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ab014033e3a1476e5fe0d203b0fc8184333c4373#diff-f96f0bc0782547730f4a2616bfb33863R13566">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ab014033e3a1476e5fe0d203b0fc8184333c4373#diff-f96f0bc0782547730f4a2616bfb33863R13567">13567</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ab014033e3a1476e5fe0d203b0fc8184333c4373#diff-f96f0bc0782547730f4a2616bfb33863R13568">13568</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ab014033e3a1476e5fe0d203b0fc8184333c4373#diff-f96f0bc0782547730f4a2616bfb33863R13569">13569</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ab014033e3a1476e5fe0d203b0fc8184333c4373#diff-f96f0bc0782547730f4a2616bfb33863R13570">13570</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ab014033e3a1476e5fe0d203b0fc8184333c4373#diff-f96f0bc0782547730f4a2616bfb33863R13571">13571</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ab014033e3a1476e5fe0d203b0fc8184333c4373#diff-f96f0bc0782547730f4a2616bfb33863R13572">13572</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ab014033e3a1476e5fe0d203b0fc8184333c4373#diff-f96f0bc0782547730f4a2616bfb33863R13573">13573</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ab014033e3a1476e5fe0d203b0fc8184333c4373#diff-f96f0bc0782547730f4a2616bfb33863R13574">13574</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ab014033e3a1476e5fe0d203b0fc8184333c4373#diff-f96f0bc0782547730f4a2616bfb33863R13653">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ab014033e3a1476e5fe0d203b0fc8184333c4373#diff-f96f0bc0782547730f4a2616bfb33863R13654">13654</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ab014033e3a1476e5fe0d203b0fc8184333c4373#diff-f96f0bc0782547730f4a2616bfb33863R13655">13655</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ab014033e3a1476e5fe0d203b0fc8184333c4373#diff-f96f0bc0782547730f4a2616bfb33863R13656">13656</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre">&nbsp;</span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ab014033e3a1476e5fe0d203b0fc8184333c4373#diff-f96f0bc0782547730f4a2616bfb33863R13657">13657</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ab014033e3a1476e5fe0d203b0fc8184333c4373#diff-f96f0bc0782547730f4a2616bfb33863R13658">13658</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ab014033e3a1476e5fe0d203b0fc8184333c4373#diff-f96f0bc0782547730f4a2616bfb33863R13659">13659</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ab014033e3a1476e5fe0d203b0fc8184333c4373#diff-f96f0bc0782547730f4a2616bfb33863R13660">13660</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/ab014033e3a1476e5fe0d203b0fc8184333c4373#diff-f96f0bc0782547730f4a2616bfb33863R13661">13661</a></span>
</pre>
            </th>
            <td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, &quot;Liberation Mono&quot;, Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -13567,7 +13567,8 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">grn_table_sort_key_from_str_geo(grn_ctx *ctx, const char *str, unsigned int str_</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">         p = r;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">       }</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     }</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">-    GRN_FREE(tokbuf);</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+    /* The cast is just for suppressing wrong Visual C++ warning. */</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+    GRN_FREE((void *)tokbuf);</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   }</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   if (!ctx-&gt;rc &amp;&amp; k - keys &gt; 0) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     *nkeys = k - keys;</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -13653,7 +13654,8 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">grn_table_sort_key_from_str(grn_ctx *ctx, const char *str, unsigned int str_size</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre">         p = r;</span>
<span class="diff-not-changed" style="display: block; white-space: pre">       }</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     }</span>
<span class="diff-deleted" style="background-color: #ffecec; color: #000000; display: block; white-space: pre">-    GRN_FREE(tokbuf);</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+    /* The cast is just for suppressing wrong Visual C++ warning. */</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+    GRN_FREE((void *)tokbuf);</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   }</span>
<span class="diff-not-changed" style="display: block; white-space: pre">   if (!ctx-&gt;rc &amp;&amp; k - keys &gt; 0) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre">     *nkeys = k - keys;</span>
</pre>
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  </body>
</html>