Fix warnings in cb-colour