diff options
author | Jackson Harper <jackson@novell.com> | 2003-07-20 20:46:03 +0400 |
---|---|---|
committer | Jackson Harper <jackson@novell.com> | 2003-07-20 20:46:03 +0400 |
commit | 35abfcdb43edd304ce999200b208e458c3d313ce (patch) | |
tree | e77cf59f7da3d160d11b655bb9a7ecb5d6438d7d | |
parent | 596ccdf374946925d5bafa2d123397785c67025c (diff) |
* image.c: Allow new metadata tables to be loaded without a
warning. Also update the warning message to give the new constant value.
svn path=/trunk/mono/; revision=16445
-rw-r--r-- | mono/metadata/ChangeLog | 4 | ||||
-rw-r--r-- | mono/metadata/image.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/mono/metadata/ChangeLog b/mono/metadata/ChangeLog index 56c10437899..0cfe275847c 100644 --- a/mono/metadata/ChangeLog +++ b/mono/metadata/ChangeLog @@ -1,4 +1,8 @@ +2003-07-20 Jackson Harper <jackson@latitudegeo.com> + * image.c: Allow new metadata tables to be loaded without a + warning. Also update the warning message to give the new constant value. + Fri Jul 18 13:12:21 CEST 2003 Paolo Molaro <lupus@ximian.com> * class.c, class.h, debug-helpers.c, icall.c, image.c, marshal.c, diff --git a/mono/metadata/image.c b/mono/metadata/image.c index 6f118799e53..82476ee94b9 100644 --- a/mono/metadata/image.c +++ b/mono/metadata/image.c @@ -362,8 +362,8 @@ load_tables (MonoImage *image) image->tables [table].rows = 0; continue; } - if (table > 0x2b) { - g_warning("bits in valid must be zero above 0x2b (II - 23.1.6)"); + if (table > MONO_TABLE_LAST) { + g_warning("bits in valid must be zero above 0x2d (II - 23.1.6)"); } /*if ((sorted_mask & ((guint64) 1 << table)) == 0){ g_print ("table %s (0x%02x) is sorted\n", mono_meta_table_name (table), table); |