aboutsummaryrefslogtreecommitdiffstats
path: root/translate/grt/ghwlib.h
diff options
context:
space:
mode:
Diffstat (limited to 'translate/grt/ghwlib.h')
-rw-r--r--translate/grt/ghwlib.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/translate/grt/ghwlib.h b/translate/grt/ghwlib.h
index dbf20fe80..0138267ed 100644
--- a/translate/grt/ghwlib.h
+++ b/translate/grt/ghwlib.h
@@ -150,7 +150,7 @@ struct ghw_type_enum
const char *name;
enum ghw_wkt_type wkt;
- int nbr;
+ unsigned int nbr;
const char **lits;
};
@@ -179,7 +179,7 @@ struct ghw_type_array
enum ghdl_rtik kind;
const char *name;
- int nbr_dim;
+ unsigned int nbr_dim;
union ghw_type *el;
union ghw_type **dims;
};
@@ -214,7 +214,7 @@ struct ghw_type_record
enum ghdl_rtik kind;
const char *name;
- int nbr_fields;
+ unsigned int nbr_fields;
int nbr_el; /* Number of scalar signals. */
struct ghw_record_element *el;
};