[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Buffer size limitation in insdel.c
From: |
Lars Magne Ingebrigtsen |
Subject: |
Re: Buffer size limitation in insdel.c |
Date: |
Thu, 23 Sep 2010 16:21:58 +0200 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) |
Eli Zaretskii <address@hidden> writes:
> Use "gcc -E" to see.
Ah, thanks. That helps a lot in figuring out what the code actually is.
> In my case, the result is this:
>
> matrix->window_left_col = (((((long) ((w)->left_col)) >> (3 - 1))));
>
> which looks correct, unless I'm totally confused.
I get the same in my gcc:
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.)
--
(domestic pets only, the antidote for overdose, milk.)
address@hidden * Lars Magne Ingebrigtsen
- Re: Buffer size limitation in insdel.c, (continued)
- Re: Buffer size limitation in insdel.c, Lars Magne Ingebrigtsen, 2010/09/23
- Re: Buffer size limitation in insdel.c, Eli Zaretskii, 2010/09/23
- Re: Buffer size limitation in insdel.c, Lars Magne Ingebrigtsen, 2010/09/23
- Re: Buffer size limitation in insdel.c, Lars Magne Ingebrigtsen, 2010/09/23
- Re: Buffer size limitation in insdel.c, Andreas Schwab, 2010/09/23
- Re: Buffer size limitation in insdel.c, Eli Zaretskii, 2010/09/23
- Re: Buffer size limitation in insdel.c, Lars Magne Ingebrigtsen, 2010/09/23
- Re: Buffer size limitation in insdel.c, Eli Zaretskii, 2010/09/23
- Re: Buffer size limitation in insdel.c,
Lars Magne Ingebrigtsen <=
- Re: Buffer size limitation in insdel.c, Lars Magne Ingebrigtsen, 2010/09/23
- Re: Buffer size limitation in insdel.c, Eli Zaretskii, 2010/09/23
- Re: Buffer size limitation in insdel.c, Lars Magne Ingebrigtsen, 2010/09/23
- Re: Buffer size limitation in insdel.c, Lars Magne Ingebrigtsen, 2010/09/23
- Re: Buffer size limitation in insdel.c, Eli Zaretskii, 2010/09/23
- Re: Buffer size limitation in insdel.c, Lars Magne Ingebrigtsen, 2010/09/23
- Re: Buffer size limitation in insdel.c, Eli Zaretskii, 2010/09/23
- Re: Buffer size limitation in insdel.c, Richard Stallman, 2010/09/24
- Re: Buffer size limitation in insdel.c, Eli Zaretskii, 2010/09/24
- Re: Buffer size limitation in insdel.c, Lars Magne Ingebrigtsen, 2010/09/24