diff options
-rw-r--r-- | runtime/loc2c-runtime.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/loc2c-runtime.h b/runtime/loc2c-runtime.h index 91b5a0c5..4177b8a2 100644 --- a/runtime/loc2c-runtime.h +++ b/runtime/loc2c-runtime.h @@ -182,5 +182,6 @@ _len > 1 && (_c = deref (1, _addr)) != '\0'; \ --_len, ++_addr) \ *_d++ = _c; \ + *_d = '\0'; \ (dst); \ }) |