Commit 54c929bc authored by Yedidya Feldblum's avatar Yedidya Feldblum Committed by Facebook GitHub Bot

let to_ascii_port_clzll always return non-void

Summary: Required for msvc 32-bit builds - the result of `to_ascii_port_clzll` is used in an arithmetic expression.

Reviewed By: SarahDesouky, Orvid

Differential Revision: D27585004

fbshipit-source-id: b84b5b6d6fe417f3c6adafcaf826505275aa827c
parent 897fd4bf
...@@ -61,7 +61,7 @@ FOLLY_ERASE auto to_ascii_port_clzll(uint64_t v) { ...@@ -61,7 +61,7 @@ FOLLY_ERASE auto to_ascii_port_clzll(uint64_t v) {
#if FOLLY_X64 #if FOLLY_X64
return __lzcnt64(v); return __lzcnt64(v);
#else #else
__assume(0); return __assume(0), 0;
#endif #endif
#else #else
return __builtin_clzll(v); return __builtin_clzll(v);
......
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