Commit 34fcc28e authored by Sergei Petrunia's avatar Sergei Petrunia

Merge pull request #33 from k0da/mdev-7839

Fix BigEndian build for Cassandra SE
parents 651a142a 71bbff8d
...@@ -887,7 +887,7 @@ bool cassandra_to_dyncol_intLong(const char *cass_data, ...@@ -887,7 +887,7 @@ bool cassandra_to_dyncol_intLong(const char *cass_data,
{ {
value->type= DYN_COL_INT; value->type= DYN_COL_INT;
#ifdef WORDS_BIGENDIAN #ifdef WORDS_BIGENDIAN
value->x.long_value= (longlong *)*cass_data; value->x.long_value= (longlong)*cass_data;
#else #else
flip64(cass_data, (char *)&value->x.long_value); flip64(cass_data, (char *)&value->x.long_value);
#endif #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