diff options
Diffstat (limited to 'src/pkg/runtime/chan.goc')
| -rw-r--r-- | src/pkg/runtime/chan.goc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/runtime/chan.goc b/src/pkg/runtime/chan.goc index e4b19aad04..39d53aa16e 100644 --- a/src/pkg/runtime/chan.goc +++ b/src/pkg/runtime/chan.goc @@ -37,7 +37,7 @@ makechan(ChanType *t, int64 hint) runtime·panicstring("makechan: size out of range"); // allocate memory in one call - c = (Hchan*)runtime·mallocgc(sizeof(*c) + hint*elem->size, (uintptr)t | TypeInfo_Chan, 0); + c = (Hchan*)runtime·mallocgc(sizeof(*c) + hint*elem->size, nil, 0); c->elemsize = elem->size; c->elemtype = elem; c->dataqsiz = hint; |
