summaryrefslogtreecommitdiff
path: root/cpp/demo/Database/Oracle/occi/Util.cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2015-01-20 16:25:59 +0100
committerJose <jose@zeroc.com>2015-01-20 16:25:59 +0100
commitaccf3bcc88a76a205d5404af253795ffadc4965b (patch)
tree2a4bff0ea94f6c81f195b750baf1dfb01745ecdc /cpp/demo/Database/Oracle/occi/Util.cpp
parentICE-6198 fixed IceBox demo to not require current directory to be added to li... (diff)
downloadice-accf3bcc88a76a205d5404af253795ffadc4965b.tar.bz2
ice-accf3bcc88a76a205d5404af253795ffadc4965b.tar.xz
ice-accf3bcc88a76a205d5404af253795ffadc4965b.zip
Fixed (ICE-6241) - Update Windows instructions in Oracle OCCI demo README
Diffstat (limited to 'cpp/demo/Database/Oracle/occi/Util.cpp')
-rw-r--r--cpp/demo/Database/Oracle/occi/Util.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/demo/Database/Oracle/occi/Util.cpp b/cpp/demo/Database/Oracle/occi/Util.cpp
index 95364f25842..ef9645e993f 100644
--- a/cpp/demo/Database/Oracle/occi/Util.cpp
+++ b/cpp/demo/Database/Oracle/occi/Util.cpp
@@ -129,7 +129,7 @@ decodeRef(const string& str, Environment* env, Connection* con)
sword status = OCIRefFromHex(env->getOCIEnvironment(), error,
con->getOCIServiceContext(),
- reinterpret_cast<const OraText*>(str.c_str()), str.length(),
+ reinterpret_cast<const OraText*>(str.c_str()), static_cast<ub4>(str.length()),
&ref);