tt (tooltalk): Kill some warnings
Includes some potentially bad pointer/int conversions
This commit is contained in:
committed by
Jon Trulson
parent
5ad7a83985
commit
19c7c80aa3
@@ -371,7 +371,7 @@ typedef struct maphdr {
|
||||
/*
|
||||
* Macro to get pointer to structure if pointer to some element is known
|
||||
*/
|
||||
#define GETBASE(p,s,e) ((struct s *) ((char *)(p) - (int)&((struct s *)0)->e))
|
||||
#define GETBASE(p,s,e) ((struct s *) ((char *)(p) - (char *)&((struct s *)0)->e))
|
||||
|
||||
/* In memory sorting object */
|
||||
typedef struct issort {
|
||||
|
||||
Reference in New Issue
Block a user