cstdintをインクルードするように修正
[cuda.git] / libutils / MDView.cuh
index 4035de4..9ebfe7d 100644 (file)
@@ -18,6 +18,7 @@
 #ifndef FM7b5_MDVIEW_CUH
 #define FM7b5_MDVIEW_CUH
 
+#include <cstdint>
 #include <type_traits>
 
 namespace FM7b5
@@ -34,7 +35,7 @@ namespace FM7b5
                {
                public:
                        typedef T value_type;
-                       typedef typename copy_const<T, uint8_t>::type* byte_pointer_type;
+                       typedef typename copy_const<T, uint_fast8_t>::type* byte_pointer_type;
                        typedef typename copy_const<T, void>::type* void_pointer_type;
 
                protected: