From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Jan D." Newsgroups: gmane.emacs.devel Subject: Re: Type-error in C code Date: Fri, 12 Nov 2010 18:13:17 +0100 Message-ID: <4CDD75AD.7020807@swipnet.se> References: <4CDD5951.4030904@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1289582572 2073 80.91.229.12 (12 Nov 2010 17:22:52 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 12 Nov 2010 17:22:52 +0000 (UTC) To: Stefan Monnier , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 12 18:22:48 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 1PGxKq-00031Y-3G for ged-emacs-devel@m.gmane.org; Fri, 12 Nov 2010 18:22:48 +0100 Original-Received: from localhost ([127.0.0.1]:45032 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PGxKp-0007sQ-BA for ged-emacs-devel@m.gmane.org; Fri, 12 Nov 2010 12:22:47 -0500 Original-Received: from [140.186.70.92] (port=55633 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PGxIi-0006EU-DA for emacs-devel@gnu.org; Fri, 12 Nov 2010 12:20:40 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PGxBg-0006KF-O3 for emacs-devel@gnu.org; Fri, 12 Nov 2010 12:13:21 -0500 Original-Received: from smtprelay-h31.telenor.se ([213.150.131.4]:37977) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PGxBg-0006Jh-Iw for emacs-devel@gnu.org; Fri, 12 Nov 2010 12:13:20 -0500 Original-Received: from ipb1.telenor.se (ipb1.telenor.se [195.54.127.164]) by smtprelay-h31.telenor.se (Postfix) with ESMTP id 0C583E9B5B for ; Fri, 12 Nov 2010 18:13:18 +0100 (CET) X-SENDER-IP: [85.225.45.100] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AoIyAOME3UxV4S1kPGdsb2JhbACDPYRSmkUMAQEBATUtrVCRC4EigzVzBI1j X-IronPort-AV: E=Sophos;i="4.59,188,1288566000"; d="scan'208";a="151030706" Original-Received: from c-642de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.100]) by ipb1.telenor.se with ESMTP; 12 Nov 2010 18:13:18 +0100 Original-Received: from [172.20.199.2] (gaffa [172.20.199.2]) by coolsville.localdomain (Postfix) with ESMTPSA id 0CE9C7FA05A; Fri, 12 Nov 2010 18:13:18 +0100 (CET) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; sv-SE; rv:1.9.2.7) Gecko/20100713 Thunderbird/3.1.1 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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:132586 Archived-At: Julien Danjou skrev 2010-11-12 16:22: > On Fri, Nov 12 2010, Jan Dj=C3=A4rv wrote: > >> An Atom is 32 bits. make_number can't cover that range when long is 3= 2 >> bits, so it is an unsafe thing to do. Best is to revert and go back t= o >> using a string. > > There's no really no way to make a 32 bits number in elisp? > I mean, I trust you, I am not familiar with elisp's internal, but that > sounds weird. > Either use a 64-bit OS or use a cons with 16 bits each. I'm not sure if=20 the send_client_message functions support that, you have to check (I'm=20 not near the source right now). Jan D.