removed malloc casts(!), changed sizeof usages
using "foo = malloc(sizeof *foo)" is more change-friendly than "foo = malloc(sizeof (type*)"
Showing
想要评论请 注册 或 登录
using "foo = malloc(sizeof *foo)" is more change-friendly than "foo = malloc(sizeof (type*)"