1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

dtpad: Resolve 7 compiler warnings.

This commit is contained in:
Peter Howkins 2015-01-13 14:50:05 +00:00
parent 8baeb4c0a0
commit f913c616ee
2 changed files with 8 additions and 8 deletions

View file

@ -1822,7 +1822,7 @@ Usage(
template = (GETMESSAGE(7,10, message_string2)); template = (GETMESSAGE(7,10, message_string2));
fprintf (stderr, template); fprintf (stderr, "%s", template);
exit (0); exit (0);
} }

View file

@ -57,13 +57,13 @@
/* definitions from tttk/tttkutils.h */ /* definitions from tttk/tttkutils.h */
char _TTKeys[7]; char _TTKeys[7];
#define _TTCBKey ((int)&_TTKeys[0]) #define _TTCBKey ((int)(intptr_t)&_TTKeys[0])
#define _TTClientCBKey ((int)&_TTKeys[1]) #define _TTClientCBKey ((int)(intptr_t)&_TTKeys[1])
#define _TTClientDataKey ((int)&_TTKeys[2]) #define _TTClientDataKey ((int)(intptr_t)&_TTKeys[2])
#define _TTDepositPatKey ((int)&_TTKeys[3]) #define _TTDepositPatKey ((int)(intptr_t)&_TTKeys[3])
#define _TTJoinInfoKey ((int)&_TTKeys[4]) #define _TTJoinInfoKey ((int)(intptr_t)&_TTKeys[4])
#define _TTContractKey ((int)&_TTKeys[5]) #define _TTContractKey ((int)(intptr_t)&_TTKeys[5])
#define _TTSubContractKey ((int)&_TTKeys[6]) #define _TTSubContractKey ((int)(intptr_t)&_TTKeys[6])
extern Editor *pPadList; /* list of Editor instances - declared in main.c */ extern Editor *pPadList; /* list of Editor instances - declared in main.c */