summaryrefslogtreecommitdiff
path: root/dev-libs/ibpp/files/ibpp-2.3.5.0-amd64.patch
Unidiff
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 @@
1diff -Naur ibpp.orig/array.cpp ibpp/array.cpp
2 --- ibpp.orig/array.cpp2004-09-23 17:34:08.000000000 +0200
3 +++ ibpp/array.cpp2004-10-25 22:51:01.000000000 +0200
4@@ -289,7 +289,7 @@
5 throw ExceptionImpl("Array::ReadTo", "Wrong count of array elements");
6
7 IBS status;
8 -long lenbuf = mBufferSize;
9 +ISC_LONG lenbuf = mBufferSize;
10 (*gds.Call()->m_array_get_slice)(status.Self(), mDatabase->GetHandlePtr(),
11 mTransaction->GetHandlePtr(), &mId, &mDesc, mBuffer, &lenbuf);
12 if (status.Errors())
13@@ -1088,7 +1088,7 @@
14 }
15
16 IBS status;
17 -long lenbuf = mBufferSize;
18 +ISC_LONG lenbuf = mBufferSize;
19 (*gds.Call()->m_array_put_slice)(status.Self(), mDatabase->GetHandlePtr(),
20 mTransaction->GetHandlePtr(), &mId, &mDesc, mBuffer, &lenbuf);
21 if (status.Errors())