Re: window decoration problem with sawfish and GNOME 2



On Oct 29, 2003, at 10:25 PM, <geoff cs hmc edu> wrote:

ugh.. (I always disliked that 0xfffffffff magic number..)
...
-		rep_VECTI(ret_data, i) = rep_make_long_uint(l_data[i]);
+ rep_VECTI(ret_data, i) = rep_make_long_uint(l_data[i] & 0xffffffff);

Maybe I'm missing something, but why not use ~0 instead?  Then you're
length-independent but don't have to mask.

the comparison against 0xffffffff is done by lisp code, but since numbers in lisp are (theoretically) unbounded ~0 has no meaning,

	John





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]