Permalink
Browse files

Merge pull request #5 from danieldevries/compile_error_fix

passing mrb state to mrb_float_value
  • Loading branch information...
mattn committed Jul 9, 2013
2 parents 5c612bf + ce919d4 commit d4ff485d45441b5e81afc5def30e92561f828980
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/mrb_sqlite3.c
View
@@ -159,7 +159,7 @@ row_to_value(mrb_state* mrb, sqlite3_stmt* stmt) {
case SQLITE_FLOAT:
{
double value = sqlite3_column_double(stmt, i);
- mrb_ary_push(mrb, a, mrb_float_value(value));
+ mrb_ary_push(mrb, a, mrb_float_value(mrb, value));
}
break;
case SQLITE_BLOB:

0 comments on commit d4ff485

Please sign in to comment.