Explorar o código

Fixed pointer cast for array indexing.

Brucey %!s(int64=3) %!d(string=hai) anos
pai
achega
c361c2c030
Modificáronse 1 ficheiros con 5 adicións e 2 borrados
  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