From aef71a146ee022947ac5013ffd7a49d29d9f7d1c Mon Sep 17 00:00:00 2001 From: Vadim Pisarevsky Date: Mon, 29 Nov 2010 21:38:32 +0000 Subject: [PATCH] put 64-bit constants to CV_BIG_INT() macros to avoid warnings with old compilers --- tests/ml/src/mltests.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/ml/src/mltests.cpp b/tests/ml/src/mltests.cpp index f04001ac3b..1cacab3fbc 100644 --- a/tests/ml/src/mltests.cpp +++ b/tests/ml/src/mltests.cpp @@ -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]);