mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-11 14:57:36 +02:00
Issue #422 - Fix compilation error
This commit is contained in:
parent
1803a7339a
commit
e8ef39c76b
2 changed files with 8 additions and 1 deletions
|
@ -1,5 +1,11 @@
|
|||
# Changelog
|
||||
|
||||
## 0.23 - TBD
|
||||
|
||||
Bug Fixes
|
||||
|
||||
- Fixed compilation error in `runtime.c` on Raspberry Pi / ARM.
|
||||
|
||||
## 0.22 - November 3, 2020
|
||||
|
||||
Features
|
||||
|
|
|
@ -6607,6 +6607,7 @@ void *gc_alloc_pair(gc_thread_data *data, object head, object tail)
|
|||
*/
|
||||
void *Cyc_init_thread(object thread_and_thunk, int argc, object *args)
|
||||
{
|
||||
int i;
|
||||
vector_type *t;
|
||||
c_opaque_type *o;
|
||||
object op, parent, child, tmp;
|
||||
|
@ -6636,7 +6637,7 @@ void *Cyc_init_thread(object thread_and_thunk, int argc, object *args)
|
|||
|
||||
if (argc > 0) {
|
||||
thd->gc_num_args = argc + 1;
|
||||
for (int i = 0; i < argc; i++) {
|
||||
for (i = 0; i < argc; i++) {
|
||||
thd->gc_args[i + 1] = args[i];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue