summaryrefslogtreecommitdiff
path: root/storage/cassandra
diff options
context:
space:
mode:
authorSergei Petrunia <psergey@askmonty.org>2015-03-25 19:44:31 +0300
committerSergei Petrunia <psergey@askmonty.org>2015-03-25 19:44:31 +0300
commit323a7e93ee2445e6d5918b4946cbec99b1ab650c (patch)
treebaa5e79e7ed3dc1f468eff787de1832802d443ed /storage/cassandra
parent1020d569343aab2de2a96cf630f3e7d9fa7ca84f (diff)
downloadmariadb-git-323a7e93ee2445e6d5918b4946cbec99b1ab650c.tar.gz
Backport from 10.1 to 10.0: Merge pull request #33 from k0da/mdev-7839
Fix BigEndian build for Cassandra SE
Diffstat (limited to 'storage/cassandra')
-rw-r--r--storage/cassandra/ha_cassandra.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/cassandra/ha_cassandra.cc b/storage/cassandra/ha_cassandra.cc
index 9b30445fcd2..e69e740bfcd 100644
--- a/storage/cassandra/ha_cassandra.cc
+++ b/storage/cassandra/ha_cassandra.cc
@@ -887,7 +887,7 @@ bool cassandra_to_dyncol_intLong(const char *cass_data,
{
value->type= DYN_COL_INT;
#ifdef WORDS_BIGENDIAN
- value->x.long_value= (longlong *)*cass_data;
+ value->x.long_value= (longlong)*cass_data;
#else
flip64(cass_data, (char *)&value->x.long_value);
#endif