summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/tr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tr.c b/src/tr.c
index 099d65021..3cb3bba10 100644
--- a/src/tr.c
+++ b/src/tr.c
@@ -1386,7 +1386,7 @@ get_s2_spec_stats (struct Spec_list *s2, size_t len_s1)
static void
spec_init (struct Spec_list *spec_list)
{
- struct Spec_list *new = xmalloc (sizeof *new);
+ struct List_element *new = xmalloc (sizeof *new);
spec_list->head = spec_list->tail = new;
spec_list->head->next = NULL;
}