diff --git a/ext/win32/lib/win32/sspi.rb b/ext/win32/lib/win32/sspi.rb index 20205fd4d6..9dbd4377a4 100644 --- a/ext/win32/lib/win32/sspi.rb +++ b/ext/win32/lib/win32/sspi.rb @@ -204,7 +204,7 @@ module Win32 def ==(other) if other.is_a?(SSPIResult) @value == other.value - elsif other.is_a?(Fixnum) + elsif other.is_a?(Integer) @value == @@map[other] else false