emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* fails to start on 32 bit
@ 2015-11-28 10:59 Sam Halliday
  2015-11-30 15:09 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Sam Halliday @ 2015-11-28 10:59 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 344 bytes --]

Dear org-mode authors,

I discovered an error on startup on a 32 bit Windows build.

The line in org-footnote.el

	       (format "fn:%x" (random #x100000000))

is too large and this fails with an overflow.

Please consider using a number that is 32bit compatible, I'm sure there
are plenty of integers in the 32bit range for footnote IDs :-)


[-- Attachment #2.1: Type: text/plain, Size: 27 bytes --]


-- 
Best regards,
Sam

[-- Attachment #2.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 180 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: fails to start on 32 bit
  2015-11-28 10:59 fails to start on 32 bit Sam Halliday
@ 2015-11-30 15:09 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2015-11-30 15:09 UTC (permalink / raw)
  To: Sam Halliday; +Cc: emacs-orgmode

Hello,

Sam Halliday <sam.halliday@gmail.com> writes:

> I discovered an error on startup on a 32 bit Windows build.
>
> The line in org-footnote.el
>
> 	       (format "fn:%x" (random #x100000000))
>
> is too large and this fails with an overflow.
>
> Please consider using a number that is 32bit compatible, I'm sure there
> are plenty of integers in the 32bit range for footnote IDs :-)

Fixed. Thank you.


Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-11-30 15:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-28 10:59 fails to start on 32 bit Sam Halliday
2015-11-30 15:09 ` Nicolas Goaziou

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).