tt (tooltalk): Kill some warnings

Includes some potentially bad pointer/int conversions
This commit is contained in:
Frederic Koehler
2012-08-11 18:38:59 -04:00
committed by Jon Trulson
parent 5ad7a83985
commit 19c7c80aa3
4 changed files with 5 additions and 4 deletions

View File

@@ -51,7 +51,7 @@ extern struct dlink *_isdln_next(), *_isdln_first();
#define ISHASHHDRS 256 /* Must be a power of two */
#define ISHASHMASK (ISHASHHDRS-1)
#define __hashblkno(fcb,blkno) (((int)(fcb)+(blkno)) & ISHASHMASK)
#define __hashblkno(fcb,blkno) (((size_t)(fcb)+(blkno)) & ISHASHMASK)
#define base ((char *)0)