svn path=/trunk/mono/; revision=18758
2003-10-08 Jackson Harper <jackson@ximian.com>
- * main.c: NULL cnst_block so we dont explode on interfaces.
+ * main.c (dis_type): NULL cnst_block so we dont explode on
+ interfaces.
+ * main.c (dis_genericparam): oops, fix off-by-one error.
2003-10-08 Jackson Harper <jackson@ximian.com>
else
fprintf (output, ", %s", mono_metadata_string_heap (m, cols [MONO_GENERICPARAM_NAME]));
- for (cnst_ind = cnst_start; cnst_ind <= ct->rows; cnst_ind++) {
+ for (cnst_ind = cnst_start; cnst_ind < ct->rows; cnst_ind++) {
char *sig;
mono_metadata_decode_row (ct, cnst_ind, ccols, MONO_GENPARCONSTRAINT_SIZE);
if (ccols [MONO_GENPARCONSTRAINT_GENERICPAR] != i)