mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2024-11-30 21:24:18 +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
@ -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];
|
||||
|
@ -68,8 +68,8 @@ static void Start(Options *options) {
|
||||
encoding:NSUTF8StringEncoding];
|
||||
|
||||
NSLog(@"Send: %@", error ? [error description] : @"No Error");
|
||||
NSLog(@"Response: %d", [[ul response] statusCode]);
|
||||
NSLog(@"Result: %d bytes\n%@", [data length], result);
|
||||
NSLog(@"Response: %ld", (long)[[ul response] statusCode]);
|
||||
NSLog(@"Result: %lu bytes\n%@", (unsigned long)[data length], result);
|
||||
|
||||
[result release];
|
||||
[ul release];
|
||||
|
Loading…
Reference in New Issue
Block a user