Reply to post:

Learn you Func Prog on five minute quick!

Sam Liddicott

Your cure is worse than the disease.

The error is failing to have a definition of malloc, but fear of this unlikely event is no reason not to cast the return value of malloc.

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon

Biting the hand that feeds IT © 1998–2019