build warning: assignment from incompatible pointer type (#42)

Closed #42.