diff --git a/clientscr/Mac_Saver_ModuleView.m b/clientscr/Mac_Saver_ModuleView.m index 86d03e9fed..97f0085893 100644 --- a/clientscr/Mac_Saver_ModuleView.m +++ b/clientscr/Mac_Saver_ModuleView.m @@ -609,7 +609,7 @@ static int compareOSVersionTo(int toMajor, int toMinor) { err = Gestalt(gestaltSystemVersionMajor, &major); if (err != noErr) { - fprintf(stderr, "Gestalt(gestaltSystemVersionMajor) returned error %d\n", err); + fprintf(stderr, "Gestalt(gestaltSystemVersionMajor) returned error %ld\n", (long)err); fflush(stderr); return 0; } @@ -617,7 +617,7 @@ static int compareOSVersionTo(int toMajor, int toMinor) { if (major > toMajor) return 1; err = Gestalt(gestaltSystemVersionMinor, &minor); if (err != noErr) { - fprintf(stderr, "Gestalt(gestaltSystemVersionMinor) returned error %d\n", err); + fprintf(stderr, "Gestalt(gestaltSystemVersionMinor) returned error %ld\n", (long)err); fflush(stderr); return 0; }