forked from pool/heaptrack
This commit is contained in:
parent
88f8375d2c
commit
299ed32396
@ -1,29 +0,0 @@
|
||||
From 76fd2e84ba133e96d2cfdf90cb715e66e923eb8f Mon Sep 17 00:00:00 2001
|
||||
From: Milian Wolff <mail@milianw.de>
|
||||
Date: Thu, 17 May 2018 13:31:25 +0200
|
||||
Subject: Fix compile on 32bit
|
||||
|
||||
BUG: 394330
|
||||
---
|
||||
src/util/linewriter.h | 5 +++++
|
||||
1 file changed, 5 insertions(+)
|
||||
|
||||
diff --git a/src/util/linewriter.h b/src/util/linewriter.h
|
||||
index 73a7930..e895e87 100644
|
||||
--- a/src/util/linewriter.h
|
||||
+++ b/src/util/linewriter.h
|
||||
@@ -158,6 +158,11 @@ public:
|
||||
return __builtin_clzl(V);
|
||||
}
|
||||
|
||||
+ inline static unsigned clz(long long unsigned V)
|
||||
+ {
|
||||
+ return __builtin_clzll(V);
|
||||
+ }
|
||||
+
|
||||
template <typename V>
|
||||
static char* writeHexNumber(char* buffer, V value)
|
||||
{
|
||||
--
|
||||
cgit v0.11.2
|
||||
|
Loading…
Reference in New Issue
Block a user