/* Setup a pair of shorts that are returned by value, rather than as a reference to an array.  */
static int TIFFSetupShortPair(TIFF *, ttag_t, TIFFDirEntry *)
/* Setup a pair of shorts that are returned by value, rather than as a reference to an array.  */
static int TIFFSetupShortPair(TIFF *, ttag_t, TIFFDirEntry *)
{
	uint16 v[2];
	TIFFGetField(tif, tag, &v[0], &v[1]);
	return (TIFFWriteShortArray(tif, TIFF_SHORT, tag, dir, 2, v));
}