rocdigs: fixes for compiler warnings