ioc/db: fix issue with compiler differences between MSVC and GNU (enum signedness)

This commit is contained in:
Ralph Lange
2014-06-04 11:53:32 +02:00
parent 9e1ebf8d0f
commit e7416ce144

View File

@@ -87,9 +87,9 @@ struct dbfl_ref {
};
typedef struct db_field_log {
enum dbfl_type type:2; /* type (union) selector */
unsigned int type:2; /* type (union) selector */
/* ctx is used for all types */
enum dbfl_context ctx:1; /* context (operation type) */
unsigned int ctx:1; /* context (operation type) */
/* the following are used for value and reference types */
epicsTimeStamp time; /* Time stamp */
unsigned short stat; /* Alarm Status */