[0.1.x] ~ int->long

git-svn-id: https://pykd.svn.codeplex.com/svn@73301 9b283d60-5439-405e-af05-b73fd8c4d996
This commit is contained in:
SND\EreTIk_cp 2012-01-19 14:29:02 +00:00 committed by Mikhail I. Izmestev
parent 70b3cf0c93
commit f6adbfa042

View File

@ -174,7 +174,7 @@ class TypedVarTest( unittest.TestCase ):
# if debug: g_unTypedPtrToFunction point to jmp EnumWindowsProc2 (e9 xxxxxxxx)
self.assertTrue( ( target.module.offset("EnumWindowsProc2") == tv1 ) or
( 0xE9 == pykd.ptrByte( int(tv1) ) ) )
( 0xE9 == pykd.ptrByte( long(tv1) ) ) )
tv2 = target.module.typedVar( "g_unTypedPtrToFunction" )
self.assertEqual( tv1, tv2 )