Commit d5bcccda authored by Marko Mäkelä's avatar Marko Mäkelä

Merge 10.2 into 10.3

parents e4a7c15d fbb1e92e
......@@ -5,7 +5,7 @@
struct fts_encode_info
{
const byte buf[10];
int32_t len;
size_t len;
doc_id_t val;
};
......@@ -40,7 +40,7 @@ int main(int, char**)
{
byte buf[10];
const byte* fts_buf= buf;
int32_t len= fts_encode_int(fts_info[i].val, buf) - &buf[0];
size_t len= fts_encode_int(fts_info[i].val, buf) - &buf[0];
if (fts_info[i].len == len &&
!memcmp(&fts_info[i].buf, buf, len) &&
fts_decode_vlc(&fts_buf) == fts_info[i].val &&
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment