Pārlūkot izejas kodu

Fixed pointer cast for array indexing.

Brucey 3 gadi atpakaļ
vecāks
revīzija
c361c2c030
1 mainītis faili ar 5 papildinājumiem un 2 dzēšanām
  1. 5 2
      appstub.mod/debugger_mt.stdio.bmx

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

@@ -713,8 +713,11 @@ Function DumpObject( inst:Byte Ptr,index:Int )
 		bmx_debugger_DebugDecl_ArrayDeclFree(decl)
 		
 		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