summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/postgresql/pq_connection.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/drivers/postgresql/pq_connection.hxx')
-rw-r--r--connectivity/source/drivers/postgresql/pq_connection.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/drivers/postgresql/pq_connection.hxx b/connectivity/source/drivers/postgresql/pq_connection.hxx
index 20526ce51af3..848dc70a4edf 100644
--- a/connectivity/source/drivers/postgresql/pq_connection.hxx
+++ b/connectivity/source/drivers/postgresql/pq_connection.hxx
@@ -142,7 +142,7 @@ struct HashByteSequence
{
sal_Int32 operator () ( const ::rtl::ByteSequence & seq ) const
{
- return *(sal_Int32*) seq.getConstArray();
+ return *reinterpret_cast<sal_Int32 const *>(seq.getConstArray());
}
};