|
From: | Jan D. |
Subject: | Re: Type-error in C code |
Date: | Fri, 12 Nov 2010 18:13:17 +0100 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 6.1; sv-SE; rv:1.9.2.7) Gecko/20100713 Thunderbird/3.1.1 |
Julien Danjou skrev 2010-11-12 16:22:
On Fri, Nov 12 2010, Jan Djärv wrote:An Atom is 32 bits. make_number can't cover that range when long is 32 bits, so it is an unsafe thing to do. Best is to revert and go back to 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 the send_client_message functions support that, you have to check (I'm not near the source right now).
Jan D.
[Prev in Thread] | Current Thread | [Next in Thread] |