summaryrefslogtreecommitdiffstats
path: root/mono/DBusType/UInt64.cs
diff options
context:
space:
mode:
Diffstat (limited to 'mono/DBusType/UInt64.cs')
-rw-r--r--mono/DBusType/UInt64.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/mono/DBusType/UInt64.cs b/mono/DBusType/UInt64.cs
index 84fef06b..c987a918 100644
--- a/mono/DBusType/UInt64.cs
+++ b/mono/DBusType/UInt64.cs
@@ -36,7 +36,7 @@ namespace DBus.DBusType
public static bool Suits(System.Type type)
{
- if (type.IsEnum && type.UnderlyingSystemType == typeof(System.UInt64)) {
+ if (type.IsEnum && Enum.GetUnderlyingType (type) == typeof(System.UInt64)) {
return true;
}