nc: add missing cast
xfuncs: add dprintf for dietlibc
3 files changed