rem: printf("Number of pictures %d\n", pjp.NumberOfPictures());
add: printf("Number of pictures %ld\n", pjp.NumberOfPictures());
context: int main(int argc, char* argv[]) {	BApplication app("application/x-vnd.obos.dump-print-job");	for (int i = 1; i < argc; i ++) {		BFile jobFile(argv[i], B_READ_WRITE);		if (jobFile.InitCheck() == B_OK) {			PrintJobReader reader(&jobFile);			if (reader.InitCheck() == B_OK) {					printf("%s: JobMessage\n", argv[0]);					reader.JobSettings()->PrintToStream();					int32 pages = reader.NumberOfPages();					for (int page = 0; page < pages; page ++) {						printf("Page %d\n", page+1);						PrintJobPage pjp;						if (reader.GetPage(page, pjp) == B_OK) {							BPicture picture; BPoint p; BRect r;							printf("Number of pictures %d\n", pjp.NumberOfPictures());							while (pjp.NextPicture(picture, p, r) == B_OK) {								printf("Picture point (%f, %f) rect [l: %f t: %f r: %f b: %f]\n",									p.x, p.y,									r.left, r.top, r.right, r.bottom);																PicturePrinter printer;								printer.Iterate(&picture);							}						}					}			}/*			print_file_header header;			if (jobFile.Read(&header, sizeof(header)) == sizeof(header)) {				BMessage jobMsg;				if (jobMsg.Unflatten(&jobFile) == B_OK) {					printf("%s: JobMessage\n", argv[0]);					jobMsg.PrintToStream();					int32 pages = header.page_count;					for (int page = 0; page < pages; page ++) {						printf("Page %d offset %lx\n", page+1, jobFile.Position());						if (dump_page(&jobFile) != B_OK) break; 					}				} else {					print(argv); print("Could not unflatten job message\n");				}			} else {				print(argv); print("Could not read print_job_header\n");			}	*/		} else {			print(argv); print("Error opening file!\n");		}	}}