diff options
author | Sergei Petrunia <psergey@askmonty.org> | 2015-03-25 19:44:31 +0300 |
---|---|---|
committer | Sergei Petrunia <psergey@askmonty.org> | 2015-03-25 19:44:31 +0300 |
commit | 323a7e93ee2445e6d5918b4946cbec99b1ab650c (patch) | |
tree | baa5e79e7ed3dc1f468eff787de1832802d443ed /storage/cassandra | |
parent | 1020d569343aab2de2a96cf630f3e7d9fa7ca84f (diff) | |
download | mariadb-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.cc | 2 |
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 |