fix type conversions in cmd_buffer_processor