icewm/icewm-1.2.35-unaligned-access.patch

14 lines
387 B
Diff
Raw Normal View History

diff --git src/wmapp.cc src/wmapp.cc
index d8b0032..6a5663d 100644
--- src/wmapp.cc
+++ src/wmapp.cc
@@ -220,7 +220,7 @@ static void registerProtocols2(Window xid) {
PropModeReplace, (unsigned char *)win_proto, i);
#endif
- long pid = getpid();
+ XID pid = getpid();
const char wmname[] = "IceWM "VERSION" ("HOSTOS"/"HOSTCPU")";
#ifdef GNOME1_HINTS