X-Git-Url: https://git.saurik.com/apple/libc.git/blobdiff_plain/5f4d86c1219d56604890d932a3152b3b5dd15b55..34e8f8296870d0e8695f90e1a54240a589d41312:/gmon/gmon.c diff --git a/gmon/gmon.c b/gmon/gmon.c index 8d5710a..bd5d9f4 100644 --- a/gmon/gmon.c +++ b/gmon/gmon.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 1999 Apple Computer, Inc. All rights reserved. + * Copyright (c) 1999, 2003, 2004, 2007, 2008 Apple Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * @@ -475,7 +475,7 @@ const char *filename) write(fd, &image_count, sizeof(uint32_t)); image_count++; for(i = 1; i < image_count; i++){ - image_header = _dyld_get_image_header(i); + image_header = (intptr_t)_dyld_get_image_header(i); write(fd, &image_header, sizeof(intptr_t)); image_name = _dyld_get_image_name(i); write(fd, image_name, strlen(image_name) + 1);