]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/safe_numerics/example/example17.cpp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / libs / safe_numerics / example / example17.cpp
index c069525c1816ec593d12c98f5af98cbc90d71ab3..a8048baf56d4dfea917939d71200cafbe65c3c7f 100644 (file)
@@ -5,9 +5,10 @@
 // http://www.boost.org/LICENSE_1_0.txt)
 
 #include <boost/safe_numerics/safe_integer.hpp>
+#include <cstdint> // uint8_t
 using namespace boost::safe_numerics;
 
-int f(int i){
+uint8_t f(uint8_t i){
     return i;
 }