Skip to content

Commit 65c29a8

Browse files
committed
Corrected function declarations to match definitions in LibTIFF. [skip travis]
1 parent c50616d commit 65c29a8

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

dependencies/libtiff/libtiff/tiffio.h

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -494,22 +494,22 @@ extern const unsigned char* TIFFGetBitRevTable(int);
494494
#define UVSCALE 410.
495495
extern double LogL16toY(int);
496496
extern double LogL10toY(int);
497-
extern void XYZtoRGB24(float*, uint8*);
497+
extern void XYZtoRGB24(float[3], uint8[3]);
498498
extern int uv_decode(double*, double*, int);
499-
extern void LogLuv24toXYZ(uint32, float*);
500-
extern void LogLuv32toXYZ(uint32, float*);
499+
extern void LogLuv24toXYZ(uint32, float[3]);
500+
extern void LogLuv32toXYZ(uint32, float[3]);
501501
#if defined(c_plusplus) || defined(__cplusplus)
502502
extern int LogL16fromY(double, int = SGILOGENCODE_NODITHER);
503503
extern int LogL10fromY(double, int = SGILOGENCODE_NODITHER);
504504
extern int uv_encode(double, double, int = SGILOGENCODE_NODITHER);
505-
extern uint32 LogLuv24fromXYZ(float*, int = SGILOGENCODE_NODITHER);
506-
extern uint32 LogLuv32fromXYZ(float*, int = SGILOGENCODE_NODITHER);
505+
extern uint32 LogLuv24fromXYZ(float[3], int = SGILOGENCODE_NODITHER);
506+
extern uint32 LogLuv32fromXYZ(float[3], int = SGILOGENCODE_NODITHER);
507507
#else
508508
extern int LogL16fromY(double, int);
509509
extern int LogL10fromY(double, int);
510510
extern int uv_encode(double, double, int);
511-
extern uint32 LogLuv24fromXYZ(float*, int);
512-
extern uint32 LogLuv32fromXYZ(float*, int);
511+
extern uint32 LogLuv24fromXYZ(float[3], int);
512+
extern uint32 LogLuv32fromXYZ(float[3], int);
513513
#endif
514514
#endif /* LOGLUV_PUBLIC */
515515

0 commit comments

Comments
 (0)