From f6adbfa0422ba7b7c88455f8b0d58bc0c90085c8 Mon Sep 17 00:00:00 2001 From: "SND\\EreTIk_cp" <SND\EreTIk_cp@9b283d60-5439-405e-af05-b73fd8c4d996> Date: Thu, 19 Jan 2012 14:29:02 +0000 Subject: [PATCH] [0.1.x] ~ int->long git-svn-id: https://pykd.svn.codeplex.com/svn@73301 9b283d60-5439-405e-af05-b73fd8c4d996 --- test/scripts/typedvar.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/scripts/typedvar.py b/test/scripts/typedvar.py index 0be09e5..442bbf8 100644 --- a/test/scripts/typedvar.py +++ b/test/scripts/typedvar.py @@ -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 )