X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2Fprofiler%2Fmono-profiler-aot.c;h=4cf48bbd1b2491a54e3155c2c793b1934d5bb441;hb=08a728d237965feb2bbd485f909998b17c0bbb11;hp=ba614b4de7e0f6c55e4cd49ce7c433522f6344c1;hpb=2fa7ee3fbabdf45094f1f271843cfad5785dee5c;p=mono.git diff --git a/mono/profiler/mono-profiler-aot.c b/mono/profiler/mono-profiler-aot.c index ba614b4de7e..4cf48bbd1b2 100644 --- a/mono/profiler/mono-profiler-aot.c +++ b/mono/profiler/mono-profiler-aot.c @@ -9,6 +9,7 @@ * The AOT compiler can load these files during compilation. * Currently, only the order in which methods were compiled is saved, * allowing more efficient function ordering in the AOT files. + * Licensed under the MIT license. See LICENSE file in the project root for full license information. */ #include @@ -124,7 +125,7 @@ prof_jit_leave (MonoProfiler *prof, MonoMethod *method, int result) MonoImage *image = mono_class_get_image (mono_method_get_class (method)); PerImageData *data; - data = g_hash_table_lookup (prof->images, image); + data = (PerImageData *)g_hash_table_lookup (prof->images, image); if (!data) { data = g_new0 (PerImageData, 1); g_hash_table_insert (prof->images, image, data);