Fix most of the following classes of warnings in the ToolTalk libraries:

- Const strings referenced by non-const variables.
- Incorrect format specifers for printing addresses
- Unused variables
- Signed comparison to unsigned

Also fix an incorrect enumeration value in a switch statement.
This commit is contained in:
Chris Wareham
2012-08-14 11:49:53 +01:00
committed by Jon Trulson
parent d6b6353f95
commit e738704385
29 changed files with 51 additions and 57 deletions

View File

@@ -68,7 +68,6 @@ ttdnd_init(
{
int mark = tt_mark();
const char *t, **vt;
int validtypecount, i;
if (tt_ptr_error(tt_open())>TT_WRN_LAST) {
@@ -238,7 +237,6 @@ _ttdnd_get_contents_callback(m, p)
Tt_message m;
Tt_pattern p;
{
int xid;
int chunknumber;
int maxchunk;
char *type;