Define thandle_t as int, not void* (may cause problems in 64-bit environment).

This commit is contained in:
Andrey Kiselev 2004-06-06 10:18:55 +00:00
parent 99887fc8da
commit 196feb57b1

View File

@ -1,4 +1,4 @@
/* $Header: /cvs/maptools/cvsroot/libtiff/libtiff/tiffio.h,v 1.32 2004-06-05 08:09:28 dron Exp $ */
/* $Id: tiffio.h,v 1.33 2004-06-06 10:18:55 dron Exp $ */
/*
* Copyright (c) 1988-1997 Sam Leffler
@ -93,11 +93,11 @@ DECLARE_HANDLE(thandle_t); /* Win32 file handle */
typedef HFILE thandle_t; /* client data handle */
#endif
#else
typedef void* thandle_t; /* client data handle */
typedef int thandle_t; /* client data handle */
#endif
#ifndef NULL
#define NULL 0
# define NULL (void *)0
#endif
/*