summaryrefslogtreecommitdiff
path: root/databases/libodbc++/files/patch-src-datastream.cpp
blob: b3a220c20798960e8a84bc2aacbe8faa87b1d127 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
--- src/datastream.cpp.orig	Sun Nov 12 13:36:46 2006
+++ src/datastream.cpp	Sun Nov 12 13:39:05 2006
@@ -30,7 +30,7 @@
 #if !defined(ODBCXX_QT)
 
 DataStreamBuf::DataStreamBuf(ErrorHandler* eh, SQLHSTMT hstmt, int col, 
-			     int cType,SQLINTEGER& dataStatus)
+			     int cType,SQLLEN& dataStatus)
   :errorHandler_(eh), 
    hstmt_(hstmt), 
    column_(col), 
@@ -78,7 +78,7 @@
   
   //after the call, this is the number of bytes that were 
   //available _before_ the call
-  SQLINTEGER bytes;
+  SQLLEN bytes;
 
   //the actual number of bytes that should end up in our buffer
   //we don't care about NULL termination
@@ -134,7 +134,7 @@
 // really ugly
 
 DataStream::DataStream(ErrorHandler* eh, SQLHSTMT hstmt, int col, 
-		       int cType,SQLINTEGER& dataStatus)
+		       int cType,SQLLEN& dataStatus)
   :errorHandler_(eh), 
    hstmt_(hstmt), 
    column_(col),