diff --git a/include/boost/compute/program.hpp b/include/boost/compute/program.hpp index d81491d9..e953d7a8 100644 --- a/include/boost/compute/program.hpp +++ b/include/boost/compute/program.hpp @@ -310,7 +310,7 @@ public: 0, 0, options_string, - headers.size(), + static_cast(headers.size()), header_programs.data(), header_names.data(), 0,