<!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-10 16:39:11 +0900 (Mon, 10 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/6b167d2f8f09e1c8d549ec5af4211826a9c455da">6b167d2f8f09e1c8d549ec5af4211826a9c455da</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 a warning
lib/db.c:3098:7: warning: initializing 'int *'
with an expression of type 'uint32_t *' (aka 'unsigned int *') converts
between pointers to integer types with different sign [-Wpointer-sign]
GRN_TABLE_EACH(ctx, table2, 0, 0, id, &key, &key_size, &value2, {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
It seems that we should treat all key sizes as unsigned int.</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/6b167d2f8f09e1c8d549ec5af4211826a9c455da#diff-0">include/groonga.h</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: include/groonga.h (+3 -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; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/6b167d2f8f09e1c8d549ec5af4211826a9c455da#L0L3007">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/6b167d2f8f09e1c8d549ec5af4211826a9c455da#L0L3008">3008</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/6b167d2f8f09e1c8d549ec5af4211826a9c455da#L0L3009">3009</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/6b167d2f8f09e1c8d549ec5af4211826a9c455da#L0L3010">3010</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/6b167d2f8f09e1c8d549ec5af4211826a9c455da#L0L3011">3011</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/6b167d2f8f09e1c8d549ec5af4211826a9c455da#L0L3012">3012</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/6b167d2f8f09e1c8d549ec5af4211826a9c455da#L0L3013">3013</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/6b167d2f8f09e1c8d549ec5af4211826a9c455da#L0L3014">3014</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </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/6b167d2f8f09e1c8d549ec5af4211826a9c455da#L0L3015">3015</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/6b167d2f8f09e1c8d549ec5af4211826a9c455da#L0L3016">3016</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/6b167d2f8f09e1c8d549ec5af4211826a9c455da#L0L3017">3017</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/6b167d2f8f09e1c8d549ec5af4211826a9c455da#L0R3007">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/6b167d2f8f09e1c8d549ec5af4211826a9c455da#L0R3008">3008</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/6b167d2f8f09e1c8d549ec5af4211826a9c455da#L0R3009">3009</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/6b167d2f8f09e1c8d549ec5af4211826a9c455da#L0R3010">3010</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/6b167d2f8f09e1c8d549ec5af4211826a9c455da#L0R3011">3011</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/6b167d2f8f09e1c8d549ec5af4211826a9c455da#L0R3012">3012</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/6b167d2f8f09e1c8d549ec5af4211826a9c455da#L0R3013">3013</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/6b167d2f8f09e1c8d549ec5af4211826a9c455da#L0R3014">3014</a></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/6b167d2f8f09e1c8d549ec5af4211826a9c455da#L0R3015">3015</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/6b167d2f8f09e1c8d549ec5af4211826a9c455da#L0R3016">3016</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/6b167d2f8f09e1c8d549ec5af4211826a9c455da#L0R3017">3017</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/groonga/groonga/commit/6b167d2f8f09e1c8d549ec5af4211826a9c455da#L0R3018">3018</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">@@ -3008,10 +3008,11 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">GRN_API grn_rc grn_dat_cursor_delete(grn_ctx *ctx, grn_dat_cursor *c,</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> grn_dat_cursor *_sc = grn_dat_cursor_open(ctx, dat, NULL, 0, NULL, 0, 0, -1, 0);\</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (_sc) {\</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> grn_id id;\</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- int *_ks = (key_size);\</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ unsigned int *_ks = (key_size);\</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if (_ks) {\</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> while ((id = grn_dat_cursor_next(ctx, _sc))) {\</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- *(_ks) = grn_dat_cursor_get_key(ctx, _sc, (const void **)(key));\</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ int _ks_raw = grn_dat_cursor_get_key(ctx, _sc, (const void **)(key));\</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ *(_ks) = (unsigned int)_ks_raw;\</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> block\</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }\</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> } else {\</span>
</pre>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>