projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert "[runtime] Fix the computation of token sizes in ppdb files, the PDB stream...
[mono.git]
/
mono
/
metadata
/
icall-windows.c
diff --git
a/mono/metadata/icall-windows.c
b/mono/metadata/icall-windows.c
index 9ebcf30f31b5f2f2bbb85b1e1515f08d255b8b54..05e4ccf97374d36db769e0952af9f2f0ca60216a 100644
(file)
--- a/
mono/metadata/icall-windows.c
+++ b/
mono/metadata/icall-windows.c
@@
-35,10
+35,11
@@
mono_icall_get_file_path_prefix (const gchar *path)
}
gpointer
}
gpointer
-mono_icall_module_get_hinstance (MonoReflectionModule
*
module)
+mono_icall_module_get_hinstance (MonoReflectionModule
Handle
module)
{
{
- if (module->image && module->image->is_module_handle)
- return module->image->raw_data;
+ MonoImage *image = MONO_HANDLE_GETVAL (module, image);
+ if (image && image->is_module_handle)
+ return image->raw_data;
return (gpointer) (-1);
}
return (gpointer) (-1);
}