Skip to content

Commit 323a7e9

Browse files
committed
Backport from 10.1 to 10.0: Merge pull request #33 from k0da/mdev-7839
Fix BigEndian build for Cassandra SE
1 parent 1020d56 commit 323a7e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

storage/cassandra/ha_cassandra.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -887,7 +887,7 @@ bool cassandra_to_dyncol_intLong(const char *cass_data,
887887
{
888888
value->type= DYN_COL_INT;
889889
#ifdef WORDS_BIGENDIAN
890-
value->x.long_value= (longlong *)*cass_data;
890+
value->x.long_value= (longlong)*cass_data;
891891
#else
892892
flip64(cass_data, (char *)&value->x.long_value);
893893
#endif

0 commit comments

Comments
 (0)