mirror of
https://github.com/janet-lang/janet
synced 2025-01-25 22:56:52 +00:00
Fix int64 coerce bug in sqlite3 binding.
This commit is contained in:
parent
4e6fc341dc
commit
63eff235b0
@ -425,7 +425,7 @@ static const uint8_t *coerce_int64(int64_t x) {
|
|||||||
bytes[i++] = x % 10;
|
bytes[i++] = x % 10;
|
||||||
x = x / 10;
|
x = x / 10;
|
||||||
}
|
}
|
||||||
bytes[i++] = '\0';
|
bytes[i] = '\0';
|
||||||
return dst_string(bytes, i);
|
return dst_string(bytes, i);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user