rem: printf("Pictures %d\n", pictureCount);
add: printf("Pictures %ld\n", pictureCount);
context: status_t dump_page(BFile* jobFile) {	int32 pictureCount;	status_t rc = B_OK;	jobFile->Read(&pictureCount, sizeof(pictureCount));	printf("Pictures %d\n", pictureCount);	for (int i = 0; rc == B_OK && i < pictureCount; i ++) {		BPoint p; BRect r;		off_t v;		jobFile->Read(&v, sizeof(v));		printf("next picture %lx %lx %lx\n", jobFile->Position(), v, v + jobFile->Position());		jobFile->Seek(40, SEEK_CUR);		jobFile->Read(&p, sizeof(p));		jobFile->Read(&r, sizeof(r));		BPicture picture;		rc = picture.Unflatten(jobFile);		if (rc == B_OK) {			PicturePrinter printer;			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);			// printer.Iterate(&picture);			printf("==========================\n");		} else {			fprintf(stderr, "Error unflattening picture\n");		}	}	return rc;}