diff --git a/example/endian_example.cpp b/example/endian_example.cpp index 7a3435d..5fcca47 100644 --- a/example/endian_example.cpp +++ b/example/endian_example.cpp @@ -16,7 +16,7 @@ #include #include -#include +#include #include using namespace boost::endian; @@ -30,10 +30,10 @@ namespace struct header { - big_int32_t file_code; - big_int32_t file_length; - little_int32_t version; - little_int32_t shape_type; + big_int32_buf_t file_code; + big_int32_buf_t file_length; + little_int32_buf_t version; + little_int32_buf_t shape_type; }; const char* filename = "test.dat";