From fbfb25303bd77db6a5943043cc4303d0c0b835c9 Mon Sep 17 00:00:00 2001 From: jwhendy Date: Sat, 28 Sep 2019 11:16:44 -0500 Subject: [PATCH] fix for endian mismatch issue per boostorg/python PR #218 --- cv_bridge/src/module.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/cv_bridge/src/module.hpp b/cv_bridge/src/module.hpp index 92153ac80..c5ce3442f 100644 --- a/cv_bridge/src/module.hpp +++ b/cv_bridge/src/module.hpp @@ -37,6 +37,7 @@ PyObject* pyopencv_from(const cv::Mat& m); static int do_numpy_import( ) { import_array( ); + return NULL; } #else static void do_numpy_import( )