Commit 323a7e93 authored by Sergei Petrunia's avatar Sergei Petrunia

Backport from 10.1 to 10.0: Merge pull request #33 from k0da/mdev-7839

Fix BigEndian build for Cassandra SE
parent 1020d569
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment