Loading...
src/dyld_gdb.cpp dyld-360.18 dyld-239.4
--- dyld/dyld-360.18/src/dyld_gdb.cpp
+++ dyld/dyld-239.4/src/dyld_gdb.cpp
@@ -61,7 +61,7 @@
 	// append all new images
 	for (uint32_t i=0; i < infoCount; ++i)
 		sImageInfos.push_back(info[i]);
-	dyld::gProcessInfo->infoArrayCount = (uint32_t)sImageInfos.size();
+	dyld::gProcessInfo->infoArrayCount = sImageInfos.size();
 	
 	// set infoArray back to base address of vector (other process can now read)
 	dyld::gProcessInfo->infoArray = &sImageInfos[0];
@@ -79,7 +79,7 @@
 				sImageInfos.push_back(dyld::gProcessInfo->infoArray[i]);
 			}
 			dyld::gProcessInfo->infoArray = &sImageInfos[0];
-			dyld::gProcessInfo->infoArrayCount = (uint32_t)sImageInfos.size();
+			dyld::gProcessInfo->infoArrayCount = sImageInfos.size();
 		}
 	}
 	dyld::gProcessInfo->notification(dyld_image_info_change, 0, NULL);
@@ -127,7 +127,7 @@
 			break;
 		}
 	}
-	dyld::gProcessInfo->infoArrayCount = (uint32_t)sImageInfos.size();
+	dyld::gProcessInfo->infoArrayCount = sImageInfos.size();
 	
 	// set infoArray back to base address of vector
 	dyld::gProcessInfo->infoArray = &sImageInfos[0];
@@ -189,8 +189,7 @@
 								= { 
 									14, 0, NULL, &gdb_image_notifier, false, false, (const mach_header*)&__dso_handle, NULL,
 									XSTR(DYLD_VERSION), NULL, 0, NULL, 0, 0, NULL, &dyld_all_image_infos, 
-									0, dyld_error_kind_none, NULL, NULL, NULL, 0, {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,}, 
-									{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,}
+									0, dyld_error_kind_none, NULL, NULL, NULL, 0, {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,}, 0
 									};
 
 	struct dyld_shared_cache_ranges dyld_shared_cache_ranges;