diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-07-30 15:27:28 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2020-07-30 15:27:28 +0200 |
commit | a785b3eddf8c02750b1715939069d20980bd5125 (patch) | |
tree | 4b7e160ff902b82c575cc1db285507fa1c2dd969 /src/libutil | |
parent | 3f6e88a5527dcc4d58e3147f78388a88eb8896e0 (diff) |
Fix build
Diffstat (limited to 'src/libutil')
-rw-r--r-- | src/libutil/config.cc | 2 | ||||
-rw-r--r-- | src/libutil/json.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libutil/config.cc b/src/libutil/config.cc index 8454037f2..8fc700a2b 100644 --- a/src/libutil/config.cc +++ b/src/libutil/config.cc @@ -284,7 +284,7 @@ template class BaseSetting<unsigned int>; template class BaseSetting<long>; template class BaseSetting<unsigned long>; template class BaseSetting<long long>; -template class BaseSetting<uint64_t>; +template class BaseSetting<unsigned long long>; template class BaseSetting<bool>; template class BaseSetting<std::string>; template class BaseSetting<Strings>; diff --git a/src/libutil/json.cc b/src/libutil/json.cc index 104b99e6d..01331947e 100644 --- a/src/libutil/json.cc +++ b/src/libutil/json.cc @@ -29,7 +29,7 @@ template<> void toJSON<unsigned int>(std::ostream & str, const unsigned int & n) template<> void toJSON<long>(std::ostream & str, const long & n) { str << n; } template<> void toJSON<unsigned long>(std::ostream & str, const unsigned long & n) { str << n; } template<> void toJSON<long long>(std::ostream & str, const long long & n) { str << n; } -template<> void toJSON<uint64_t>(std::ostream & str, const uint64_t & n) { str << n; } +template<> void toJSON<unsigned long long>(std::ostream & str, const unsigned long long & n) { str << n; } template<> void toJSON<float>(std::ostream & str, const float & n) { str << n; } template<> void toJSON<double>(std::ostream & str, const double & n) { str << n; } |