Commit a5f4cdbc authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

another fix in line descriptor module for Win32 MSVC

parent a7666626
......@@ -835,7 +835,7 @@ int BinaryDescriptorMatcher::SparseHashtable::init( int _b )
return 1;
size = UINT64_1 << ( b - 5 ); // size = 2 ^ b
table = (BucketGroup*) calloc( size, sizeof(BucketGroup) );
table = (BucketGroup*) calloc( (size_t)size, sizeof(BucketGroup) );
return 0;
......
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