* [gentoo-commits] gentoo-x86 commit in sci-chemistry/molmol/files: cast.patch
@ 2010-05-11 14:24 Justin Lecher (jlec)
0 siblings, 0 replies; 2+ messages in thread
From: Justin Lecher (jlec) @ 2010-05-11 14:24 UTC (permalink / raw
To: gentoo-commits
jlec 10/05/11 14:24:11
Modified: cast.patch
Log:
Add missing Prototyp
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Revision Changes Path
1.2 sci-chemistry/molmol/files/cast.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/molmol/files/cast.patch?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/molmol/files/cast.patch?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/molmol/files/cast.patch?r1=1.1&r2=1.2
Index: cast.patch
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/molmol/files/cast.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- cast.patch 23 Apr 2010 14:19:41 -0000 1.1
+++ cast.patch 11 May 2010 14:24:11 -0000 1.2
@@ -1,8 +1,16 @@
diff --git a/src/data/DataDist.c b/src/data/DataDist.c
-index 7f7121f..d303e9e 100644
+index 7f7121f..18eef33 100644
--- a/src/data/DataDist.c
+++ b/src/data/DataDist.c
-@@ -89,7 +89,7 @@ hashInter(void *p, unsigned size)
+@@ -27,6 +27,7 @@
+
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <stdint.h>
+
+ #include <hashtab.h>
+
+@@ -89,7 +90,7 @@ hashInter(void *p, unsigned size)
{
TabEntryInter *entryP = p;
^ permalink raw reply [flat|nested] 2+ messages in thread
* [gentoo-commits] gentoo-x86 commit in sci-chemistry/molmol/files: cast.patch
@ 2010-04-23 14:19 Justin Lecher (jlec)
0 siblings, 0 replies; 2+ messages in thread
From: Justin Lecher (jlec) @ 2010-04-23 14:19 UTC (permalink / raw
To: gentoo-commits
jlec 10/04/23 14:19:41
Added: cast.patch
Log:
fix instance of cast from pointer to integer of different size, stolen from fink
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Revision Changes Path
1.1 sci-chemistry/molmol/files/cast.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/molmol/files/cast.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/molmol/files/cast.patch?rev=1.1&content-type=text/plain
Index: cast.patch
===================================================================
diff --git a/src/data/DataDist.c b/src/data/DataDist.c
index 7f7121f..d303e9e 100644
--- a/src/data/DataDist.c
+++ b/src/data/DataDist.c
@@ -89,7 +89,7 @@ hashInter(void *p, unsigned size)
{
TabEntryInter *entryP = p;
- return ((unsigned) entryP->atom1P + (unsigned) entryP->atom2P) % size;
+ return ((unsigned)(uintptr_t) entryP->atom1P + (unsigned)(uintptr_t) entryP->atom2P) % size;
}
static int
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-05-11 14:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-11 14:24 [gentoo-commits] gentoo-x86 commit in sci-chemistry/molmol/files: cast.patch Justin Lecher (jlec)
-- strict thread matches above, loose matches on Subject: below --
2010-04-23 14:19 Justin Lecher (jlec)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox