Superfluous cast to void*. Also, &buf == buf so we don't usually qualify it further.