Mercurial > minori
diff src/sys/x11/settings.cc @ 354:9aaf1e788896
core/endian: fix compile error under clang
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Sun, 14 Jul 2024 23:39:42 -0400 |
parents | 2f094656e775 |
children | 99c961c91809 |
line wrap: on
line diff
--- a/src/sys/x11/settings.cc Sun Jul 14 23:27:43 2024 -0400 +++ b/src/sys/x11/settings.cc Sun Jul 14 23:39:42 2024 -0400 @@ -62,6 +62,7 @@ return true; } + /* will fail on signed integers; xsettings has none of those though */ template<typename T> bool ReadInt(T& ret) { static_assert(std::is_integral<T>::value);