1
0
mirror of https://github.com/janet-lang/janet synced 2025-01-11 16:10:27 +00:00

Fix int64 coerce bug in sqlite3 binding.

This commit is contained in:
Calvin Rose 2018-06-24 08:46:16 -04:00
parent 4e6fc341dc
commit 63eff235b0

View File

@ -425,7 +425,7 @@ static const uint8_t *coerce_int64(int64_t x) {
bytes[i++] = x % 10;
x = x / 10;
}
bytes[i++] = '\0';
bytes[i] = '\0';
return dst_string(bytes, i);
}