Commit 48c4bea5 authored by Tomoaki Teshima's avatar Tomoaki Teshima

fix build on Visual Studio 2013 and earlier

parent 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% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment