Commit 94b975ce authored by David Lawrence Ramsey's avatar David Lawrence Ramsey
Browse files

restore erroneously removed toggle* casts

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1861 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
parent 04419b97
No related merge requests found
Showing with 2 additions and 2 deletions
+2 -2
......@@ -974,12 +974,12 @@ void toggle_init_one(int val, const char *desc, long flag)
toggle *u;
if (toggles == NULL) {
toggles = nmalloc(sizeof(toggle));
toggles = (toggle *)nmalloc(sizeof(toggle));
u = toggles;
} else {
for (u = toggles; u->next != NULL; u = u->next)
;
u->next = nmalloc(sizeof(toggle));
u->next = (toggle *)nmalloc(sizeof(toggle));
u = u->next;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment