mirror of
https://github.com/opencv/opencv.git
synced 2024-11-29 13:47:32 +08:00
put 64-bit constants to CV_BIG_INT() macros to avoid warnings with old compilers
This commit is contained in:
parent
70d2c57e35
commit
aef71a146e
@ -432,11 +432,11 @@ int str_to_boost_type( string& str )
|
||||
CV_MLBaseTest::CV_MLBaseTest( const char* _modelName, const char* _testName, const char* _testFuncs ) :
|
||||
CvTest( _testName, _testFuncs )
|
||||
{
|
||||
int64 seeds[] = { 0x00009fff4f9c8d52,
|
||||
0x0000a17166072c7c,
|
||||
0x0201b32115cd1f9a,
|
||||
0x0513cb37abcd1234,
|
||||
0x0001a2b3c4d5f678
|
||||
int64 seeds[] = { CV_BIG_INT(0x00009fff4f9c8d52),
|
||||
CV_BIG_INT(0x0000a17166072c7c),
|
||||
CV_BIG_INT(0x0201b32115cd1f9a),
|
||||
CV_BIG_INT(0x0513cb37abcd1234),
|
||||
CV_BIG_INT(0x0001a2b3c4d5f678)
|
||||
};
|
||||
|
||||
int seedCount = sizeof(seeds)/sizeof(seeds[0]);
|
||||
|
Loading…
Reference in New Issue
Block a user