Guillaume GARDET
5c4eb28cf2
* 0003-add-more-test-command-line-arguments.patch * 0005-add-armnn-mobilenet-test-example.patch * 0006-armnn-mobilenet-test-example.patch * 0009-command-line-options-for-video-port-selection.patch * 0010-armnnexamples-update-for-19.08-modifications.patch * armnn-fix_find_opencv.patch - Update to 24.11: * Changelog: https://github.com/ARM-software/armnn/releases/tag/v24.11 - Drop upstream patch: * armnn-fix-armv7.patch OBS-URL: https://build.opensuse.org/package/show/science:machinelearning/armnn?expand=0&rev=94
19 lines
778 B
Diff
19 lines
778 B
Diff
--- armnn-24.08/include/armnn/Numpy.hpp.orig 2024-09-06 11:05:16.800066800 +0200
|
|
+++ armnn-24.08/include/armnn/Numpy.hpp 2024-09-06 11:05:58.717592900 +0200
|
|
@@ -157,7 +157,7 @@ namespace armnnNumpy
|
|
inline void CreateHeader(std::ifstream& ifStream, HeaderInfo& headerInfo, Header& header)
|
|
{
|
|
char stringBuffer[headerInfo.m_HeaderLen];
|
|
- ifStream.read(stringBuffer, headerInfo.m_HeaderLen);
|
|
+ ifStream.read(stringBuffer, static_cast<std::streamsize>(headerInfo.m_HeaderLen));
|
|
|
|
header.m_HeaderString = std::string(stringBuffer, headerInfo.m_HeaderLen);
|
|
// Remove new line character at the end of the string
|
|
@@ -403,4 +403,4 @@ namespace armnnNumpy
|
|
}
|
|
}
|
|
|
|
-#endif // NUMPY_HPP
|
|
\ No newline at end of file
|
|
+#endif // NUMPY_HPP
|