I make a swich after a variable of type CORBA::Ushort. The gcc flags that it cannot reduce the type to an int an aborts the compilation.

Is there a mapping between the CORBA types and C++ types? I don't know nothing about CORBA and any help would be appreciated.


PS The CORBA definition for the type is:
typedef unsigned short.
This type after translation to C++ goes into CORBA::Ushort .
How could I put this one into a switch....