Skip to content

Commit 255c7b8

Browse files
committed
Fixed pointer to number converter for some systems.
1 parent 639401d commit 255c7b8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

include/interval-tree/draw.hpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ namespace lib_interval_tree
2121
{};
2222

2323
template <>
24-
struct NumericalPointerEquivalent <sizeof(unsigned long)>
24+
struct NumericalPointerEquivalent <sizeof(std::uint32_t)>
2525
{
26-
using type = unsigned long;
26+
using type = uint32_t;
2727
};
2828

2929
template <>
30-
struct NumericalPointerEquivalent <sizeof(unsigned long long)>
30+
struct NumericalPointerEquivalent <sizeof(std::uint64_t)>
3131
{
32-
using type = unsigned long long;
32+
using type = uint64_t;
3333
};
3434

3535
template <typename... List>

0 commit comments

Comments
 (0)