diff options
Diffstat (limited to 'src/editor.c')
-rw-r--r-- | src/editor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/editor.c b/src/editor.c index 3dabe89..c0d6918 100644 --- a/src/editor.c +++ b/src/editor.c @@ -111,7 +111,7 @@ input_line_new (char *prompt, char *preinput, int history_id, completion_fn fn) /* Allocate some memory to start with */ line->size = strlen (preinput) + 100; - line->buffer = (char *) xmalloc (line->size); + line->buffer = xmalloc (line->size); /* load in the preinput */ strcpy (line->buffer, preinput); |