Patch: make openbox 2.2.3 work on 64 bit platforms

Mike FABIAN mfabian at
Thu Apr 3 12:17:28 EST 2003

On 64 bit platforms like x86_64, I had some problem with openbox

When starting 'epist' or when calling '[restart]' or '[exit]',
openbox ran into an endless loop sucking up all memory.

The attached patch fixes the problem for me.

The patch may not be perfect, it works for me, but I don't know
whether it is absolutely correct.

I checked that it still works fine on 32 bit machines though.

Anyway, 'long' is not the same as 'int' on x86_64, which caused the

I'm not sure whether this code is still relevant for openbox3, but as
I made this patch anyway already it may be useful for someone if I
post it here.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: openbox-2.2.3-64bit.diff
Type: text/x-patch
Size: 15036 bytes
Desc: not available
URL: <>
-------------- next part --------------

Mike Fabian   <mfabian at>

More information about the openbox mailing list