diff options
Diffstat (limited to 'mono/DBusType/Int64.cs')
-rw-r--r-- | mono/DBusType/Int64.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mono/DBusType/Int64.cs b/mono/DBusType/Int64.cs index 741d272a..6aea7ee8 100644 --- a/mono/DBusType/Int64.cs +++ b/mono/DBusType/Int64.cs @@ -36,7 +36,7 @@ namespace DBus.DBusType public static bool Suits(System.Type type) { - if (type.IsEnum && type.UnderlyingSystemType == typeof(System.Int64)) { + if (type.IsEnum && Enum.GetUnderlyingType (type) == typeof(System.Int64)) { return true; } |