diff options
Diffstat (limited to 'src/runtime/runtime.c')
-rw-r--r-- | src/runtime/runtime.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/runtime/runtime.c b/src/runtime/runtime.c index baf6eb68b..3d0ee7f1e 100644 --- a/src/runtime/runtime.c +++ b/src/runtime/runtime.c @@ -644,11 +644,12 @@ pointercopy(uint32 s, void **a, void **b) } Alg -algarray[3] = +algarray[4] = { { memhash, memequal, memprint, memcopy }, // 0 { stringhash, stringequal, stringprint, stringcopy }, // 1 // { pointerhash, pointerequal, pointerprint, pointercopy }, // 2 { memhash, memequal, memprint, memcopy }, // 2 - treat pointers as ints + { memhash, memequal, memprint, memcopy }, // 3 - treat interfaces as memory }; |