projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d845777
)
Cut&pasted code got the cut before the off-by-one fix.
author
Paolo Molaro
<lupus@oddwiz.org>
Thu, 9 Jan 2003 15:18:14 +0000
(15:18 -0000)
committer
Paolo Molaro
<lupus@oddwiz.org>
Thu, 9 Jan 2003 15:18:14 +0000
(15:18 -0000)
svn path=/trunk/mono/; revision=10303
mono/metadata/loader.c
patch
|
blob
|
history
diff --git
a/mono/metadata/loader.c
b/mono/metadata/loader.c
index 706502a245ddba7dad0ade21316cd2977f6fa9bd..9168744a5e28de1301adc794c1d5bb2b90530519 100644
(file)
--- a/
mono/metadata/loader.c
+++ b/
mono/metadata/loader.c
@@
-626,7
+626,7
@@
mono_method_get_marshal_info (MonoMethod *method, MonoMarshalSpec **mspecs)
if (idx + 1 < methodt->rows)
lastp = mono_metadata_decode_row_col (methodt, idx + 1, MONO_METHOD_PARAMLIST);
else
- lastp = paramt->rows;
+ lastp = paramt->rows
+ 1
;
for (i = param_index; i < lastp; ++i) {
mono_metadata_decode_row (paramt, i -1, cols, MONO_PARAM_SIZE);