diff options
author | thierry <thierry@FreeBSD.org> | 2007-11-15 02:03:36 +0800 |
---|---|---|
committer | thierry <thierry@FreeBSD.org> | 2007-11-15 02:03:36 +0800 |
commit | 650323882b0dac77d4e84d0eed80936c18dae936 (patch) | |
tree | f17cd36df6f1214a10b8f28bf674efec24e2859d /math | |
parent | aaeb8b08954440a1d49f1d7da11fdd3f9235db51 (diff) | |
download | freebsd-ports-gnome-650323882b0dac77d4e84d0eed80936c18dae936.tar.gz freebsd-ports-gnome-650323882b0dac77d4e84d0eed80936c18dae936.tar.zst freebsd-ports-gnome-650323882b0dac77d4e84d0eed80936c18dae936.zip |
Fix compilation on 64 bits platforms.
Reported by: pointyhat via pav
Approved by: portmgr (Pav)
Discussed with: Frederic Hecht (author)
Diffstat (limited to 'math')
-rw-r--r-- | math/freefem++/files/patch-src_fflib_AFunction.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/math/freefem++/files/patch-src_fflib_AFunction.cpp b/math/freefem++/files/patch-src_fflib_AFunction.cpp new file mode 100644 index 000000000000..efef53ac36c7 --- /dev/null +++ b/math/freefem++/files/patch-src_fflib_AFunction.cpp @@ -0,0 +1,11 @@ +--- ./src/fflib/AFunction.cpp.orig 2007-10-22 18:10:22.000000000 +0200 ++++ ./src/fflib/AFunction.cpp 2007-11-13 22:27:16.000000000 +0100 +@@ -1265,7 +1265,7 @@ + const E_Array & a= ta ? *tea->v : *ea; + cout << " pv =" << pv << " size = "<< a.size() << endl; + ffassert(pv >=0 && pv <a.size()); +- return a[pv]; ++ return (* a.v)[pv]; + } + + C_F0 opDot::code2(const basicAC_F0 &args) const |