summaryrefslogtreecommitdiffstats
path: root/connectivity/source/drivers/firebird/Blob.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-12 20:27:27 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-12 20:27:27 +0100
commitf8558f844674c7ba541699708e95f509026c9407 (patch)
treeb402baade1bf3b1bfe1cf89b3cacb275c020e44b /connectivity/source/drivers/firebird/Blob.cxx
parentMore loplugin:cstylecast: cppcanvas (diff)
downloadcore-f8558f844674c7ba541699708e95f509026c9407.tar.gz
core-f8558f844674c7ba541699708e95f509026c9407.zip
More loplugin:cstylecast: connectivity
auto-rewrite with <https://gerrit.libreoffice.org/#/c/47798/> "Enable loplugin:cstylecast for some more cases" plus solenv/clang-format/reformat-formatted-files Change-Id: Idbefb16acae20ab137497e78c9bc5dc5634c07fe
Diffstat (limited to 'connectivity/source/drivers/firebird/Blob.cxx')
-rw-r--r--connectivity/source/drivers/firebird/Blob.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/drivers/firebird/Blob.cxx b/connectivity/source/drivers/firebird/Blob.cxx
index d8d26c1042c1..3bf9252c7fdb 100644
--- a/connectivity/source/drivers/firebird/Blob.cxx
+++ b/connectivity/source/drivers/firebird/Blob.cxx
@@ -94,7 +94,7 @@ void Blob::ensureBlobIsOpened()
while( *pIt != isc_info_end ) // info is in clusters
{
char item = *pIt++;
- short aResultLength = (short) isc_vax_integer(pIt, 2);
+ short aResultLength = static_cast<short>(isc_vax_integer(pIt, 2));
pIt += 2;
switch(item)