Fix the following error:
ImgToolKit.c:272:10: error: incompatible pointer to integer conversion assigning to 'Atom' (aka 'unsigned long') from 'void *' [-Wint-conversion]
type = NULL;
^ ~~~~
While at it assume maintainership of this unmaintained port.
MFH: 2023Q2
12 lines
319 B
C
12 lines
319 B
C
--- ImgToolKit.c.orig 1994-11-02 00:30:07.000000000 -0800
|
|
+++ ImgToolKit.c 2023-05-25 07:50:21.577290000 -0700
|
|
@@ -269,7 +269,7 @@
|
|
curW = win;
|
|
state = XInternAtom(theDsp, "WM_STATE", True);
|
|
if (state != NULL) {
|
|
- type = NULL;
|
|
+ type = 0;
|
|
kidW = win;
|
|
while (kidW != NULL) {
|
|
curW = kidW;
|