mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-10-06 09:53:00 +02:00
DBWelement.c: passing argument 1 of 'TxPrintf' from incompatible pointer type
GCC14 --without-tk --without-tcl Related issue: https://github.com/RTimothyEdwards/magic/issues/323
This commit is contained in:
committed by
Tim Edwards
parent
23930909b1
commit
c90bde4961
+6
-6
@@ -630,7 +630,7 @@ DBWElementNames()
|
||||
HashEntry *he;
|
||||
|
||||
#ifndef MAGIC_WRAPPER
|
||||
TxPrintf(stdout, "Known elements:");
|
||||
TxPrintf("Known elements:");
|
||||
#endif
|
||||
|
||||
HashStartSearch(&hs);
|
||||
@@ -641,13 +641,13 @@ DBWElementNames()
|
||||
#ifdef MAGIC_WRAPPER
|
||||
Tcl_AppendElement(magicinterp, he->h_key.h_name);
|
||||
#else
|
||||
TxPrintf(stdout, " %s", he->h_key.h_name);
|
||||
TxPrintf(" %s", he->h_key.h_name);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
#ifndef MAGIC_WRAPPER
|
||||
TxPrintf(stdout, "/n");
|
||||
TxPrintf("/n");
|
||||
#endif
|
||||
|
||||
}
|
||||
@@ -672,7 +672,7 @@ DBWElementInbox(area)
|
||||
int sqdist;
|
||||
|
||||
#ifndef MAGIC_WRAPPER
|
||||
TxPrintf(stdout, "Element(s) inside box: ");
|
||||
TxPrintf("Element(s) inside box: ");
|
||||
#endif
|
||||
|
||||
HashStartSearch(&hs);
|
||||
@@ -685,14 +685,14 @@ DBWElementInbox(area)
|
||||
#ifdef MAGIC_WRAPPER
|
||||
Tcl_AppendElement(magicinterp, he->h_key.h_name);
|
||||
#else
|
||||
TxPrintf(stdout, " %s", he->h_key.h_name);
|
||||
TxPrintf(" %s", he->h_key.h_name);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#ifndef MAGIC_WRAPPER
|
||||
TxPrintf(stdout, "/n");
|
||||
TxPrintf("/n");
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user