From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: EMACS_INT cleanup Date: Thu, 23 Sep 2010 22:29:49 +0200 Organization: Programmerer Ingebrigtsen Message-ID: References: <83aan8uvy3.fsf@gnu.org> <8339t0uthi.fsf@gnu.org> <831v8kurwd.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1285273819 23711 80.91.229.12 (23 Sep 2010 20:30:19 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 23 Sep 2010 20:30:19 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 23 22:30:18 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OysQr-0006EP-EP for ged-emacs-devel@m.gmane.org; Thu, 23 Sep 2010 22:30:17 +0200 Original-Received: from localhost ([127.0.0.1]:60622 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OysQq-0007aJ-VR for ged-emacs-devel@m.gmane.org; Thu, 23 Sep 2010 16:30:17 -0400 Original-Received: from [140.186.70.92] (port=50228 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OysQl-0007Wp-Mj for emacs-devel@gnu.org; Thu, 23 Sep 2010 16:30:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OysQi-0000Vp-9M for emacs-devel@gnu.org; Thu, 23 Sep 2010 16:30:11 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:57918) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OysQh-0000VS-V6 for emacs-devel@gnu.org; Thu, 23 Sep 2010 16:30:08 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OysQe-000691-CJ for emacs-devel@gnu.org; Thu, 23 Sep 2010 22:30:04 +0200 Original-Received: from cm-84.215.34.171.getinternet.no ([84.215.34.171]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 23 Sep 2010 22:30:04 +0200 Original-Received: from larsi by cm-84.215.34.171.getinternet.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 23 Sep 2010 22:30:04 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 16 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cm-84.215.34.171.getinternet.no Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJFBMVEVfVkbh4tX5+vP+/vvm 6d/Qz77b2sjCvqzt8er////+//6noY1nWjMvAAACbUlEQVQ4ja3TQU8TQRQA4IlGidnTNMvaKwOH bT3JotHeFhZTPIEyXRNOBXdEvWDMZmL2RCllONISw/QomtiehhhtyPw535sWjIk1MXHS0/v63szO e0Me6z+uLpkC+v9Ce/mr1p/OBr3xf7qtwbmDL7udoKKTw+OzNYz3yqq05CDW+uXr3s7OmzGcVPT9 JVUB2NU62T6tr9UnAL+56gqAbPrNuNNR++EyY0x1VLKaZe8BrJVcCEppAisWIuNS2hsAxShvQDzG uEoCIXgq7TcHGE+SumKhalMacJ4WlwiyQX0/abcYbhFTKq4gF1heYZyFuE3GHWzlwoc4JkSLrJ3E gRhDmlOor+YjWMPFUGGKdNDAfSFeg887h23aMU0/IGxMYDAB2CabgFItqKNBenBkOMkvgAysBBnq d8AMLBUxTyYxvYL6UYttmVr/xfBhydyitDmGhq/eXpTXvepn6xlrftwOxPhUm+qomMkM8SwhxJC7 JBshDFLfM6sQugi2UBw6KDb37r2zzTqjpSgKn3AJLB2YXOCqt1gU4V2JdeJdIpAZDi30fHfvCY3F K+NgzxtJ3hDSx4sPYwDOLYKxI5nzRkHhO7GDNBs3amA8J0RQaEscNF3Pr0FyI5qU+jAlIpUTIDBA siA4EtBw6JIsrmEE8B1TgozjWNk7DlwtAicTMCGwQ2HNFUAtkqNkKRayBAEuB2uZEcclsZAhNwEC 3Xv2YP9QzC4cQ3P7J9XhXNiHaR983Jg9Pn2+rbtlP3kKD6qsVkJ9AKAfHeh+taL1PGMV99R0pGsI Ux7nlPgU6P9zxl9hGF2vRcbmYVax9WzhJ0zj6nQ+dfOkAAAAAElFTkSuQmCC Mail-Copies-To: never X-Now-Playing: Oval's _Oh_: "Hey" User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:lY9obv7YIKgizu5u3QTosv3pIIE= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:130694 Archived-At: Eli Zaretskii writes: >> A cast somewhere in the macro would probably do the trick, but >> where? > > Does it help to make sa_count's type ptrdiff_t instead of int? I just added the (int) here, which seemed to do the trick: #define USE_SAFE_ALLOCA \ int sa_count = (int) SPECPDL_INDEX (), sa_must_free = 0 -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen