mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-25 02:06:04 +02:00
Sun CC wants explicit cast &^(
This commit is contained in:
@@ -323,12 +323,12 @@ void DataTest::testCLOB()
|
|||||||
|
|
||||||
assert (blobChrStr != blobNumStr);
|
assert (blobChrStr != blobNumStr);
|
||||||
Var vLOB = blobNumStr;
|
Var vLOB = blobNumStr;
|
||||||
blobChrStr = vLOB;
|
blobChrStr = (CLOB) vLOB;
|
||||||
assert (blobChrStr == blobNumStr);
|
assert (blobChrStr == blobNumStr);
|
||||||
|
|
||||||
std::string xyz = "xyz";
|
std::string xyz = "xyz";
|
||||||
vLOB = xyz;
|
vLOB = xyz;
|
||||||
blobChrStr = vLOB;
|
blobChrStr = (CLOB) vLOB;
|
||||||
assert (0 == std::strncmp(xyz.c_str(), blobChrStr.rawContent(), blobChrStr.size()));
|
assert (0 == std::strncmp(xyz.c_str(), blobChrStr.rawContent(), blobChrStr.size()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user