2
0
Эх сурвалжийг харах

Fixed pointer cast for array indexing.

Brucey 3 жил өмнө
parent
commit
c361c2c030

+ 5 - 2
appstub.mod/debugger_mt.stdio.bmx

@@ -713,8 +713,11 @@ Function DumpObject( inst:Byte Ptr,index:Int )
 		bmx_debugger_DebugDecl_ArrayDeclFree(decl)
 		bmx_debugger_DebugDecl_ArrayDeclFree(decl)
 		
 		
 		If index<length
 		If index<length
-
-			WriteDebug "...=$"+ToHex(Int inst)+":"+index+"~n"
+?Not ptr64
+			WriteDebug "...=$"+ToHex(Int(inst))+":"+index+"~n"
+?ptr64
+			WriteDebug "...=$"+ToHex(Long(inst))+":"+index+"~n"
+?
 	
 	
 		EndIf
 		EndIf