Navigation Menu

Skip to content

Commit

Permalink
windows: use grn_memcpy()
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Jun 21, 2018
1 parent 7c408a2 commit 05b10be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ii.c
Expand Up @@ -8781,7 +8781,7 @@ grn_ii_quorum_match(grn_ctx *ctx, grn_ii *ii, grn_ii_select_data *data)
(void **)&record_data);
if (record_data->n_occurs >= quorum_threshold) {
double score = record_data->score;
memcpy(&posinfo, posting, record_key_size);
grn_memcpy(&posinfo, posting, record_key_size);
if (data->score_func) {
data->record.id = posting->rid;
data->record.weight = score / record_data->n_occurs;
Expand Down

0 comments on commit 05b10be

Please sign in to comment.