Fix racy `next_generic_inst_id`
[mono.git] / mono / metadata / class-internals.h
index 39061bd142a1ec1e5411aaee98f7848babe99d1b..ef8127e14a4ab94e43f545d5eea84ef80f660039 100644 (file)
@@ -492,7 +492,7 @@ struct MonoVTable {
  */
 struct _MonoGenericInst {
 #ifndef MONO_SMALL_CONFIG
-       guint id;                       /* unique ID for debugging */
+       gint32 id;                      /* unique ID for debugging */
 #endif
        guint type_argc    : 22;        /* number of type arguments */
        guint is_open      :  1;        /* if this is an open type */