<!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-05-20 17:05:22 +0900 (Sun, 20 May 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/mroonga/mroonga/commit/4ca3bcad988d92d81125cd89df2cf59887ed0aea">4ca3bcad988d92d81125cd89df2cf59887ed0aea</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">Use uint* instead of uint*_t</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/mroonga/mroonga/commit/4ca3bcad988d92d81125cd89df2cf59887ed0aea#diff-0">ha_mroonga.cpp</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: ha_mroonga.cpp (+6 -6)</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/mroonga/mroonga/commit/4ca3bcad988d92d81125cd89df2cf59887ed0aea#L0L1133">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4ca3bcad988d92d81125cd89df2cf59887ed0aea#L0L1134">1134</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4ca3bcad988d92d81125cd89df2cf59887ed0aea#L0L1135">1135</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4ca3bcad988d92d81125cd89df2cf59887ed0aea#L0L1136">1136</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4ca3bcad988d92d81125cd89df2cf59887ed0aea#L0L1137">1137</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4ca3bcad988d92d81125cd89df2cf59887ed0aea#L0L1138">1138</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4ca3bcad988d92d81125cd89df2cf59887ed0aea#L0L1139">1139</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-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/mroonga/mroonga/commit/4ca3bcad988d92d81125cd89df2cf59887ed0aea#L0L1140">1140</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4ca3bcad988d92d81125cd89df2cf59887ed0aea#L0L1141">1141</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4ca3bcad988d92d81125cd89df2cf59887ed0aea#L0L1142">1142</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4ca3bcad988d92d81125cd89df2cf59887ed0aea#L0L1143">1143</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4ca3bcad988d92d81125cd89df2cf59887ed0aea#L0L1144">1144</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4ca3bcad988d92d81125cd89df2cf59887ed0aea#L0L1145">1145</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4ca3bcad988d92d81125cd89df2cf59887ed0aea#L0L1146">1146</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4ca3bcad988d92d81125cd89df2cf59887ed0aea#L0L1147">1147</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-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/mroonga/mroonga/commit/4ca3bcad988d92d81125cd89df2cf59887ed0aea#L0L1148">1148</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4ca3bcad988d92d81125cd89df2cf59887ed0aea#L0L1149">1149</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4ca3bcad988d92d81125cd89df2cf59887ed0aea#L0L1150">1150</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/mroonga/mroonga/commit/4ca3bcad988d92d81125cd89df2cf59887ed0aea#L0R1133">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4ca3bcad988d92d81125cd89df2cf59887ed0aea#L0R1134">1134</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4ca3bcad988d92d81125cd89df2cf59887ed0aea#L0R1135">1135</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4ca3bcad988d92d81125cd89df2cf59887ed0aea#L0R1136">1136</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-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/mroonga/mroonga/commit/4ca3bcad988d92d81125cd89df2cf59887ed0aea#L0R1137">1137</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4ca3bcad988d92d81125cd89df2cf59887ed0aea#L0R1138">1138</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4ca3bcad988d92d81125cd89df2cf59887ed0aea#L0R1139">1139</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4ca3bcad988d92d81125cd89df2cf59887ed0aea#L0R1140">1140</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4ca3bcad988d92d81125cd89df2cf59887ed0aea#L0R1141">1141</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4ca3bcad988d92d81125cd89df2cf59887ed0aea#L0R1142">1142</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4ca3bcad988d92d81125cd89df2cf59887ed0aea#L0R1143">1143</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4ca3bcad988d92d81125cd89df2cf59887ed0aea#L0R1144">1144</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-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/mroonga/mroonga/commit/4ca3bcad988d92d81125cd89df2cf59887ed0aea#L0R1145">1145</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4ca3bcad988d92d81125cd89df2cf59887ed0aea#L0R1146">1146</a></span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4ca3bcad988d92d81125cd89df2cf59887ed0aea#L0R1147">1147</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4ca3bcad988d92d81125cd89df2cf59887ed0aea#L0R1148">1148</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4ca3bcad988d92d81125cd89df2cf59887ed0aea#L0R1149">1149</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/mroonga/mroonga/commit/4ca3bcad988d92d81125cd89df2cf59887ed0aea#L0R1150">1150</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">@@ -1134,17 +1134,17 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">static int mrn_set_geometry(grn_ctx *ctx, grn_obj *buf,</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> #ifdef WORDS_BIGENDIAN</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> #define mrn_byte_order_host_to_network(buf, key, size) \</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 size_ = (uint32_t)(size); \</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- uint8_t *buf_ = (uint8_t *)(buf); \</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- uint8_t *key_ = (uint8_t *)(key); \</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ uint32 size_ = (uint32)(size); \</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ uint8 *buf_ = (uint8 *)(buf); \</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ uint8 *key_ = (uint8 *)(key); \</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> while (size_--) { *buf_++ = *key_++; } \</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 /* WORDS_BIGENDIAN */</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> #define mrn_byte_order_host_to_network(buf, key, size) \</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 size_ = (uint32_t)(size); \</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- uint8_t *buf_ = (uint8_t *)(buf); \</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- uint8_t *key_ = (uint8_t *)(key) + size_; \</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ uint32 size_ = (uint32)(size); \</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ uint8 *buf_ = (uint8 *)(buf); \</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ uint8 *key_ = (uint8 *)(key) + size_; \</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> while (size_--) { *buf_++ = *(--key_); } \</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> #endif /* WORDS_BIGENDIAN */</span>
</pre>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>