<!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 <kou****@clear*****></dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Date</dt>
<dd style="margin-left: 8.5em">2012-08-27 10:15:35 +0900 (Mon, 27 Aug 2012)</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/2e66c7162f52b9b7b060647d396c4eb45fa0b375">2e66c7162f52b9b7b060647d396c4eb45fa0b375</a></dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Log</dt>
<dd style="margin-left: 8.5em"><pre style="border: 1px solid #aaa; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; padding: 0.5em">Fix wrong casts</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/2e66c7162f52b9b7b060647d396c4eb45fa0b375#diff-0">lib/expr.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, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre"> Modified: lib/expr.c (+2 -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, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/2e66c7162f52b9b7b060647d396c4eb45fa0b375#L0L4265">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/2e66c7162f52b9b7b060647d396c4eb45fa0b375#L0L4266">4266</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/2e66c7162f52b9b7b060647d396c4eb45fa0b375#L0L4267">4267</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/2e66c7162f52b9b7b060647d396c4eb45fa0b375#L0L4268">4268</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/2e66c7162f52b9b7b060647d396c4eb45fa0b375#L0L4269">4269</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/2e66c7162f52b9b7b060647d396c4eb45fa0b375#L0L4270">4270</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/2e66c7162f52b9b7b060647d396c4eb45fa0b375#L0L4271">4271</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/2e66c7162f52b9b7b060647d396c4eb45fa0b375#L0L4272">4272</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/2e66c7162f52b9b7b060647d396c4eb45fa0b375#L0L4285">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/2e66c7162f52b9b7b060647d396c4eb45fa0b375#L0L4286">4286</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/2e66c7162f52b9b7b060647d396c4eb45fa0b375#L0L4287">4287</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/2e66c7162f52b9b7b060647d396c4eb45fa0b375#L0L4288">4288</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/2e66c7162f52b9b7b060647d396c4eb45fa0b375#L0L4289">4289</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/2e66c7162f52b9b7b060647d396c4eb45fa0b375#L0L4290">4290</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/2e66c7162f52b9b7b060647d396c4eb45fa0b375#L0L4291">4291</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/2e66c7162f52b9b7b060647d396c4eb45fa0b375#L0L4292">4292</a></span>
</pre>
</th>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/2e66c7162f52b9b7b060647d396c4eb45fa0b375#L0R4265">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/2e66c7162f52b9b7b060647d396c4eb45fa0b375#L0R4266">4266</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/2e66c7162f52b9b7b060647d396c4eb45fa0b375#L0R4267">4267</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/2e66c7162f52b9b7b060647d396c4eb45fa0b375#L0R4268">4268</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/2e66c7162f52b9b7b060647d396c4eb45fa0b375#L0R4269">4269</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/2e66c7162f52b9b7b060647d396c4eb45fa0b375#L0R4270">4270</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/2e66c7162f52b9b7b060647d396c4eb45fa0b375#L0R4271">4271</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/2e66c7162f52b9b7b060647d396c4eb45fa0b375#L0R4272">4272</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/2e66c7162f52b9b7b060647d396c4eb45fa0b375#L0R4285">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/2e66c7162f52b9b7b060647d396c4eb45fa0b375#L0R4286">4286</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/2e66c7162f52b9b7b060647d396c4eb45fa0b375#L0R4287">4287</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/2e66c7162f52b9b7b060647d396c4eb45fa0b375#L0R4288">4288</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/2e66c7162f52b9b7b060647d396c4eb45fa0b375#L0R4289">4289</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/2e66c7162f52b9b7b060647d396c4eb45fa0b375#L0R4290">4290</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/2e66c7162f52b9b7b060647d396c4eb45fa0b375#L0R4291">4291</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/2e66c7162f52b9b7b060647d396c4eb45fa0b375#L0R4292">4292</a></span>
</pre>
</th>
<td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -4266,7 +4266,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">grn_table_select(grn_ctx *ctx, grn_obj *table, grn_obj *expr,</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (si->flags & SCAN_ACCESSOR) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> } else if (selector_proc_p(si->args[0])) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> grn_rc rc;</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- grn_proc *proc = (grn_obj *)(si->args[0]);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ grn_proc *proc = (grn_proc *)(si->args[0]);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> rc = proc->selector(ctx, table, index, si->nargs, si->args,</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> res, si->logical_op);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (rc) {</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -4286,7 +4286,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">grn_table_select(grn_ctx *ctx, grn_obj *table, grn_obj *expr,</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> case GRN_OP_CALL :</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (selector_proc_p(si->args[0])) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> grn_rc rc;</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- grn_proc *proc = (grn_obj *)(si->args[0]);</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ grn_proc *proc = (grn_proc *)(si->args[0]);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> rc = proc->selector(ctx, table, NULL, si->nargs, si->args,</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> res, si->logical_op);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (rc) {</span>
</pre>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>