summaryrefslogtreecommitdiff
path: root/dev-libs/ibpp/files/ibpp-2.3.5.0-amd64.patch
Side-by-side diff
Diffstat (limited to 'dev-libs/ibpp/files/ibpp-2.3.5.0-amd64.patch') (more/less context) (ignore whitespace changes)
-rw-r--r--dev-libs/ibpp/files/ibpp-2.3.5.0-amd64.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/dev-libs/ibpp/files/ibpp-2.3.5.0-amd64.patch b/dev-libs/ibpp/files/ibpp-2.3.5.0-amd64.patch
new file mode 100644
index 0000000..283a46b
--- a/dev/null
+++ b/dev-libs/ibpp/files/ibpp-2.3.5.0-amd64.patch
@@ -0,0 +1,21 @@
+diff -Naur ibpp.orig/array.cpp ibpp/array.cpp
+--- ibpp.orig/array.cpp 2004-09-23 17:34:08.000000000 +0200
++++ ibpp/array.cpp 2004-10-25 22:51:01.000000000 +0200
+@@ -289,7 +289,7 @@
+ throw ExceptionImpl("Array::ReadTo", "Wrong count of array elements");
+
+ IBS status;
+- long lenbuf = mBufferSize;
++ ISC_LONG lenbuf = mBufferSize;
+ (*gds.Call()->m_array_get_slice)(status.Self(), mDatabase->GetHandlePtr(),
+ mTransaction->GetHandlePtr(), &mId, &mDesc, mBuffer, &lenbuf);
+ if (status.Errors())
+@@ -1088,7 +1088,7 @@
+ }
+
+ IBS status;
+- long lenbuf = mBufferSize;
++ ISC_LONG lenbuf = mBufferSize;
+ (*gds.Call()->m_array_put_slice)(status.Self(), mDatabase->GetHandlePtr(),
+ mTransaction->GetHandlePtr(), &mId, &mDesc, mBuffer, &lenbuf);
+ if (status.Errors())