Warning fixes for devenum by Stefan Ginsberg