[profiler] Revert the root_type field back to uleb128.
[mono.git] / mono / profiler / log.c
index 4f463c28b951ccbefe112d7063472abd352d3e76..274e1a50fa6fa8a32fd6a2e186d3722e3295574d 100644 (file)
@@ -1219,7 +1219,7 @@ gc_roots (MonoProfiler *prof, MonoObject *const *objects, const MonoProfilerGCRo
 
        for (int i = 0; i < num; ++i) {
                emit_obj (logbuffer, objects [i]);
-               emit_byte (logbuffer, root_types [i]);
+               emit_value (logbuffer, root_types [i]);
                emit_value (logbuffer, extra_info [i]);
        }