This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[CLI] bug fix in the CLI binutils


Missing casts.

--
Erven.


Index: ReferencesFixer.cs =================================================================== --- ReferencesFixer.cs (revision 154994) +++ ReferencesFixer.cs (working copy) @@ -186,7 +186,7 @@

public void VisitFieldDefinition (FieldDefinition field)
{
- field.DeclaringType = m_reffixer.GetTypeReference (field.DeclaringType);
+ field.DeclaringType = (TypeDefinition)m_reffixer.GetTypeReference (field.DeclaringType);
field.FieldType = m_reffixer.GetTypeReference (field.FieldType);
}


@@ -197,7 +197,7 @@

public void VisitPropertyDefinition (PropertyDefinition property)
{
- property.DeclaringType = m_reffixer.GetTypeReference (property.DeclaringType);
+ property.DeclaringType = (TypeDefinition)m_reffixer.GetTypeReference (property.DeclaringType);
property.PropertyType = m_reffixer.GetTypeReference (property.PropertyType);
VisitCollection (property.Parameters);
property.GetMethod = (MethodDefinition) m_reffixer.GetMethodReference (property.GetMethod);



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]