uint*_tをuint_fast*_tに変更
[cuda.git] / libutils / Image.h
index 4e60da0..2bbc5c0 100644 (file)
@@ -31,7 +31,7 @@ namespace FM7b5
        public:
                typedef T pixel_type;
                typedef Image<T> image_type;
-               typedef std::uint8_t raw_type;
+               typedef std::uint_fast8_t raw_type;
 
                Image();
                Image(const size_t width, const size_t height, const size_t stride = 0);
@@ -153,7 +153,7 @@ namespace FM7b5
        }
 
        /* typedefs for convinience */
-       typedef Image<std::uint8_t> ImageGray;
+       typedef Image<std::uint_fast8_t> ImageGray;
 }
 
-#endif /* FM7b5_IMAGE_H */
\ No newline at end of file
+#endif /* FM7b5_IMAGE_H */