Navigation Menu

Skip to content

Commit

Permalink
Remove a needless cast
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Nov 16, 2012
1 parent 74637c3 commit cb629f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ha_mroonga.cpp
Expand Up @@ -6122,7 +6122,7 @@ ha_rows ha_mroonga::storage_records_in_range(uint key_nr, key_range *range_min,
}
grn_obj_unlink(ctx, index_cursor);
grn_table_cursor_close(ctx, cursor);
row_count = (int)(ceil((double)table_size * ((double)row_count / (double)cardinality)));
row_count = ceil((double)table_size * ((double)row_count / (double)cardinality));
}
DBUG_RETURN(row_count);
}
Expand Down

0 comments on commit cb629f4

Please sign in to comment.