提交 48c4bea5 编写于 作者: T Tomoaki Teshima

fix build on Visual Studio 2013 and earlier

上级 a391871c
......@@ -72,7 +72,7 @@ Mat blobFromNPY(const std::string& path)
ifs.ignore(1); // Skip major version byte.
ifs.ignore(1); // Skip minor version byte.
uint16_t headerSize;
unsigned short headerSize;
ifs.read((char*)&headerSize, sizeof(headerSize));
std::string header(headerSize, '*');
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册