rocdigs: fixes for compiler warnings (wip) (OMG)