emacs-devel
[Top][All Lists]
Advanced

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

Re: Buffer size limitation in insdel.c


From: Eli Zaretskii
Subject: Re: Buffer size limitation in insdel.c
Date: Thu, 23 Sep 2010 16:41:23 +0200

> From: Lars Magne Ingebrigtsen <address@hidden>
> Date: Thu, 23 Sep 2010 16:21:58 +0200
> 
>       matrix->window_left_col = (((((long) ((w)->left_col)) >> (3 - 1))));
> 
> So the warning is incorrect -- it's no longer a Lisp_Object at that
> point.  But it's correct in that it's a potentially problematic
> conversion.  (But probably isn't in actuality, since it's unlikely
> w->left_col really is a more than 31 bits.)

An explicit cast to int should shut it up (but you never know, with
GCC 4.x...).



reply via email to

[Prev in Thread] Current Thread [Next in Thread]