You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pegasus.apache.org by GitBox <gi...@apache.org> on 2022/01/24 03:00:30 UTC
[GitHub] [incubator-pegasus] levy5307 commented on a change in pull request #891: feat(build): support to build on MacOS
levy5307 commented on a change in pull request #891:
URL: https://github.com/apache/incubator-pegasus/pull/891#discussion_r790385896
##########
File path: src/server/hashkey_transform.h
##########
@@ -46,7 +47,7 @@ class HashkeyTransform : public rocksdb::SliceTransform
}
// hash_key_len is in big endian
- uint16_t hash_key_len = be16toh(*(int16_t *)(src.data()));
+ uint16_t hash_key_len = ::dsn::endian::ntoh(*(uint16_t *)(src.data()));
Review comment:
::dsn::endian::ntoh --> dsn::endian::ntoh
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@pegasus.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pegasus.apache.org
For additional commands, e-mail: dev-help@pegasus.apache.org