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:
parent
8baeb4c0a0
commit
f913c616ee
2 changed files with 8 additions and 8 deletions
|
@ -1822,7 +1822,7 @@ Usage(
|
|||
|
||||
template = (GETMESSAGE(7,10, message_string2));
|
||||
|
||||
fprintf (stderr, template);
|
||||
fprintf (stderr, "%s", template);
|
||||
|
||||
exit (0);
|
||||
}
|
||||
|
|
|
@ -57,13 +57,13 @@
|
|||
|
||||
/* definitions from tttk/tttkutils.h */
|
||||
char _TTKeys[7];
|
||||
#define _TTCBKey ((int)&_TTKeys[0])
|
||||
#define _TTClientCBKey ((int)&_TTKeys[1])
|
||||
#define _TTClientDataKey ((int)&_TTKeys[2])
|
||||
#define _TTDepositPatKey ((int)&_TTKeys[3])
|
||||
#define _TTJoinInfoKey ((int)&_TTKeys[4])
|
||||
#define _TTContractKey ((int)&_TTKeys[5])
|
||||
#define _TTSubContractKey ((int)&_TTKeys[6])
|
||||
#define _TTCBKey ((int)(intptr_t)&_TTKeys[0])
|
||||
#define _TTClientCBKey ((int)(intptr_t)&_TTKeys[1])
|
||||
#define _TTClientDataKey ((int)(intptr_t)&_TTKeys[2])
|
||||
#define _TTDepositPatKey ((int)(intptr_t)&_TTKeys[3])
|
||||
#define _TTJoinInfoKey ((int)(intptr_t)&_TTKeys[4])
|
||||
#define _TTContractKey ((int)(intptr_t)&_TTKeys[5])
|
||||
#define _TTSubContractKey ((int)(intptr_t)&_TTKeys[6])
|
||||
|
||||
extern Editor *pPadList; /* list of Editor instances - declared in main.c */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue