mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-19 20:18:16 +08:00
278f429069
* [openimageio] Update to 2.4.11.1. * [openimageio] Add upstream patch to fix MSVC build * [openimageio] Update baseline.
14 lines
678 B
Diff
14 lines
678 B
Diff
diff --git a/src/python/py_oiio.cpp b/src/python/py_oiio.cpp
|
|
index 6031d2c23..e71105da5 100644
|
|
--- a/src/python/py_oiio.cpp
|
|
+++ b/src/python/py_oiio.cpp
|
|
@@ -153,7 +153,7 @@ oiio_bufinfo::oiio_bufinfo(const py::buffer_info& pybuf, int nchans, int width,
|
|
format = TypeUnknown; // No idea what's going on -- error
|
|
error = Strutil::fmt::format(
|
|
"Python array shape is [{:,}] but expecting h={}, w={}, ch={}",
|
|
- cspan<ssize_t>(pybuf.shape), height, width, nchans);
|
|
+ cspan<py::ssize_t>(pybuf.shape), height, width, nchans);
|
|
}
|
|
} else if (pixeldims == 1) {
|
|
// Reading a 1D scanline span
|