mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2026-01-06 22:48:30 +01:00
Fixing some casts in order to be able to build with new Xcode and SDK versions (tested with Xcode 7.3, SDK 10.11).
Patch provided by Thomas Schweitzer. BUG= Change-Id: Ib35cdf766e73e4936e66f75474d83c2602f8ceb4 Reviewed-on: https://chromium-review.googlesource.com/378059 Reviewed-by: Mark Mentovai <mark@chromium.org>
This commit is contained in:
parent
968c388922
commit
3fef603b65
2 changed files with 8 additions and 4 deletions
|
|
@ -138,8 +138,12 @@ void DumpFile(const char *filename) {
|
|||
}
|
||||
printf("filename: %s\n", filename);
|
||||
size_t object_files_size;
|
||||
const struct fat_arch *object_files
|
||||
= fat_reader.object_files(&object_files_size);
|
||||
const SuperFatArch* super_fat_object_files =
|
||||
fat_reader.object_files(&object_files_size);
|
||||
struct fat_arch *object_files;
|
||||
if (!super_fat_object_files->ConvertToFatArch(object_files)) {
|
||||
exit(1);
|
||||
}
|
||||
printf(" object file count: %ld\n", object_files_size);
|
||||
for (size_t i = 0; i < object_files_size; i++) {
|
||||
const struct fat_arch &file = object_files[i];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue