[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Error checking in format-network-address
From: |
Andreas Schwab |
Subject: |
Re: Error checking in format-network-address |
Date: |
Tue, 27 Mar 2007 18:15:39 +0200 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.91 (gnu/linux) |
"Juanma Barranquero" <address@hidden> writes:
> Index: src/process.c
> ===================================================================
> RCS file: /cvsroot/emacs/emacs/src/process.c,v
> retrieving revision 1.508
> diff -u -2 -r1.508 process.c
> --- src/process.c 27 Mar 2007 15:19:33 -0000 1.508
> +++ src/process.c 27 Mar 2007 15:38:12 -0000
> @@ -1296,5 +1296,18 @@
>
> for (i = 0; i < nargs; i++)
> - args[i+1] = p->contents[i];
> + {
> + int element = XINT (p->contents[i]);
Better use EMACS_INT here.
Andreas.
--
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."