Fixed typo.

This commit is contained in:
Frank Warmerdam 2000-07-17 14:50:01 +00:00
parent 7c01d7c6d3
commit 1dae9cb609

View File

@ -1,4 +1,4 @@
/* $Header: /cvs/maptools/cvsroot/libtiff/libtiff/tif_dir.c,v 1.12 2000-07-14 18:43:08 warmerda Exp $ */ /* $Header: /cvs/maptools/cvsroot/libtiff/libtiff/tif_dir.c,v 1.13 2000-07-17 14:50:01 warmerda Exp $ */
/* /*
* Copyright (c) 1988-1997 Sam Leffler * Copyright (c) 1988-1997 Sam Leffler
@ -345,7 +345,7 @@ _TIFFVSetField(TIFF* tif, ttag_t tag, va_list ap)
break; break;
case TIFFTAG_SAMPLEFORMAT: case TIFFTAG_SAMPLEFORMAT:
v = va_arg(ap, int); v = va_arg(ap, int);
if (v < SAMPLEFORMAT_UINT || SAMPLEFORMAT_COMPLEX_IEEEFP < v) if (v < SAMPLEFORMAT_UINT || SAMPLEFORMAT_COMPLEXIEEEFP < v)
goto badvalue; goto badvalue;
td->td_sampleformat = (uint16) v; td->td_sampleformat = (uint16) v;
break; break;