rocdigs: fixes for compiler warnings (wip)