Make implicit casts in DHT.c and network.c explicit

This makes Xcode shut up.