diff options
Diffstat (limited to 'tools/d2c/helpers.c')
-rw-r--r-- | tools/d2c/helpers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/d2c/helpers.c b/tools/d2c/helpers.c index 8cc71cb..3f79bc1 100644 --- a/tools/d2c/helpers.c +++ b/tools/d2c/helpers.c @@ -125,7 +125,7 @@ char *make_callable(const char *raw, bool details) { max = strlen(result) + 1; result = (char *)realloc(result, max); - memmove(result + 1, result, max - 1); + memmove(result + 1, result, max); result[0] = '_'; } |