<!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">2013-06-11 14:06:08 +0900 (Tue, 11 Jun 2013)</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/b963095e0934f09de54f63d9cc7d8ccc1a2c84ef">b963095e0934f09de54f63d9cc7d8ccc1a2c84ef</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, "Liberation Mono", Courier, monospace; line-height: 1.2; padding: 0.5em; width: auto">clang: suppress warnings
Use int for section ID.
lib/expr.c:4056:74: warning: passing 'uint32_t *'
(aka 'unsigned int *') to parameter of type 'int *' converts between
pointers to integer types with different sign [-Wpointer-sign]
...if (grn_column_index(ctx, ec->value, c->op, &index, 1, &sid)) {
^~~~
include/groonga.h:1854:69: note: passing argument
to parameter 'section' here
grn_obj **indexbuf, int buf_size, int *section);
^
lib/expr.c:4068:74: warning: passing 'uint32_t *'
(aka 'unsigned int *') to parameter of type 'int *' converts between
pointers to integer types with different sign [-Wpointer-sign]
...if (grn_column_index(ctx, ec->value, c->op, &index, 1, &sid)) {
^~~~
include/groonga.h:1854:69: note: passing argument
to parameter 'section' here
grn_obj **indexbuf, int buf_size, int *section);
^
lib/expr.c:4089:61: warning: passing 'uint32_t *'
(aka 'unsigned int *') to parameter of type 'int *' converts between
pointers to integer types with different sign [-Wpointer-sign]
if (grn_column_index(ctx, *p, c->op, &index, 1, &sid)) {
^~~~
include/groonga.h:1854:69: note: passing argument
to parameter 'section' here
grn_obj **indexbuf, int buf_size, int *section);
^
lib/expr.c:4094:61: warning: passing 'uint32_t *'
(aka 'unsigned int *') to parameter of type 'int *' converts between
pointers to integer types with different sign [-Wpointer-sign]
if (grn_column_index(ctx, *p, c->op, &index, 1, &sid)) {
^~~~
include/groonga.h:1854:69: note: passing argument
to parameter 'section' here
grn_obj **indexbuf, int buf_size, int *section);
^</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/b963095e0934f09de54f63d9cc7d8ccc1a2c84ef#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; width: auto"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre"> Modified: lib/expr.c (+1 -1)</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; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b963095e0934f09de54f63d9cc7d8ccc1a2c84ef#L0L4041">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b963095e0934f09de54f63d9cc7d8ccc1a2c84ef#L0L4042">4042</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b963095e0934f09de54f63d9cc7d8ccc1a2c84ef#L0L4043">4043</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b963095e0934f09de54f63d9cc7d8ccc1a2c84ef#L0L4044">4044</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/b963095e0934f09de54f63d9cc7d8ccc1a2c84ef#L0L4045">4045</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/b963095e0934f09de54f63d9cc7d8ccc1a2c84ef#L0L4046">4046</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b963095e0934f09de54f63d9cc7d8ccc1a2c84ef#L0L4047">4047</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b963095e0934f09de54f63d9cc7d8ccc1a2c84ef#L0L4048">4048</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; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b963095e0934f09de54f63d9cc7d8ccc1a2c84ef#L0R4041">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b963095e0934f09de54f63d9cc7d8ccc1a2c84ef#L0R4042">4042</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b963095e0934f09de54f63d9cc7d8ccc1a2c84ef#L0R4043">4043</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b963095e0934f09de54f63d9cc7d8ccc1a2c84ef#L0R4044">4044</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/b963095e0934f09de54f63d9cc7d8ccc1a2c84ef#L0R4045">4045</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b963095e0934f09de54f63d9cc7d8ccc1a2c84ef#L0R4046">4046</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b963095e0934f09de54f63d9cc7d8ccc1a2c84ef#L0R4047">4047</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/b963095e0934f09de54f63d9cc7d8ccc1a2c84ef#L0R4048">4048</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; width: auto"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -4042,7 +4042,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">scan_info_build(grn_ctx *ctx, grn_obj *expr, int *n,</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> si->end = c - e->codes;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> sis[i++] = si;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> {</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- uint32_t sid;</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ int sid;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> grn_obj *index, **p = si->args, **pe = si->args + si->nargs;</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> for (; p < pe; p++) {</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if ((*p)->header.type == GRN_EXPR) {</span>
</pre>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>