Fixed typo.
This commit is contained in:
parent
7c01d7c6d3
commit
1dae9cb609
@ -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
|
||||
@ -345,7 +345,7 @@ _TIFFVSetField(TIFF* tif, ttag_t tag, va_list ap)
|
||||
break;
|
||||
case TIFFTAG_SAMPLEFORMAT:
|
||||
v = va_arg(ap, int);
|
||||
if (v < SAMPLEFORMAT_UINT || SAMPLEFORMAT_COMPLEX_IEEEFP < v)
|
||||
if (v < SAMPLEFORMAT_UINT || SAMPLEFORMAT_COMPLEXIEEEFP < v)
|
||||
goto badvalue;
|
||||
td->td_sampleformat = (uint16) v;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user