Revision: 867 http://trac.macosforge.org/projects/darwinbuild/changeset/867 Author: wsiegrist@apple.com Date: 2010-09-02 09:27:22 -0700 (Thu, 02 Sep 2010) Log Message: ----------- build fix for format string warning Modified Paths: -------------- trunk/CHANGES trunk/darwinup/main.cpp trunk/darwinxref/plugins/loadDeps.c Modified: trunk/CHANGES =================================================================== --- trunk/CHANGES 2010-08-18 21:14:48 UTC (rev 866) +++ trunk/CHANGES 2010-09-02 16:27:22 UTC (rev 867) @@ -1,6 +1,9 @@ Darwin Build Scripts Change History ----------------------------------- +Release 20.1 [02-Sep-2010] + - darwinxref: build fix for format string warning + Release 20 [10-Aug-2010] - all: use CommonCrypto instead of OpenSSL - all: remove obsolete Makefiles Modified: trunk/darwinup/main.cpp =================================================================== --- trunk/darwinup/main.cpp 2010-08-18 21:14:48 UTC (rev 866) +++ trunk/darwinup/main.cpp 2010-09-02 16:27:22 UTC (rev 867) @@ -47,7 +47,7 @@ void usage(char* progname) { fprintf(stderr, "usage: %s [-v] [-p DIR] [command] [args] \n", progname); - fprintf(stderr, "version: 20 \n"); + fprintf(stderr, "version: 20.1 \n"); fprintf(stderr, " \n"); fprintf(stderr, "options: \n"); #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 1060 Modified: trunk/darwinxref/plugins/loadDeps.c =================================================================== --- trunk/darwinxref/plugins/loadDeps.c 2010-08-18 21:14:48 UTC (rev 866) +++ trunk/darwinxref/plugins/loadDeps.c 2010-09-02 16:27:22 UTC (rev 867) @@ -97,7 +97,7 @@ struct stat sb; int typesize = (intptr_t)tab - (intptr_t)line; asprintf(&type, "%.*s", typesize, line); - asprintf(&file, "%.*s", size - typesize - 1, tab+1); + asprintf(&file, "%.*s", (int)size - typesize - 1, tab+1); if (strcmp(type, "open") == 0) { free(type); if (has_suffix(file, ".h")) {
participants (1)
-
source_changes@macosforge.org