[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[be] [bug #27056] Bibledit 3.8 does not compile on amd64
From: |
Jonathan Marsden |
Subject: |
[be] [bug #27056] Bibledit 3.8 does not compile on amd64 |
Date: |
Mon, 20 Jul 2009 05:57:24 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.1) Gecko/20090716 Ubuntu/9.04 (jaunty) Shiretoko/3.5.1 |
Follow-up Comment #2, bug #27056 (project bibledit):
The attached patch "fixes" the 64bit compilation problem by making two
(possibly dangerous!) assumptions that:
(1) startpositions and lengths will work fine as vectors of unsigned ints,
and
(2) casting startpositions.size to unsigned int has no unintended
consequences.
If those things are valid, then I think this very minor patch to
windowcheckkeyterms.cpp and windowcheckkeyterms.h is a sufficient fix for this
issue.
I do not know how to test this part of Bibledit at all (!); all I know is
that with this patch, it compiles on a 64bit machine, and the resulting binary
runs just fine!
Jonathan
(file #18444)
_______________________________________________________
Additional Item Attachment:
File name: windowcheckkeyterms.diff Size:2 KB
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?27056>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/