On Jul 15, 2010, at 8:22 AM, nadia.derbey wrote:

> So the solution is:
> 1. leave the intermediate event_type declared as an int.
> 2. then:
>      . either cast it to ibv_event_type when calling
> openib_event_to_str()
>      . or declare openib_event_to_str as accepting an int instead of an
> ibv_event_type.

Shouldn't we be keeping everything the same / native type as much as possible?

-- 
Jeff Squyres
jsquy...@cisco.com
For corporate legal information go to:
http://www.cisco.com/web/about/doing_business/legal/cri/


Reply via email to