We're preparing the upgrade to GitLab 10! Preview the new UI: http://cern.ch/go/8stB

Fix overflow expression

Signed-off-by: Cristina Moraru <cristina-gabriela.moraru@cern.ch>
parent f8ae0dd5
Pipeline #178520 passed with stages
in 13 minutes 13 seconds
......@@ -254,7 +254,7 @@ bool RecallTaskInjector::synchronousFetch()
* We are limiting to 1PB because the size will be passed as
* oracle::occi::Number which is limited to ~56 bits precision
*/
uint64_t reqSize = m_useRAO ? 1024 * 1024 * 1024 * 1024 * 1024 : m_maxBytes;
uint64_t reqSize = m_useRAO ? 1024L * 1024 * 1024 * 1024 * 1024 : m_maxBytes;
try {
filesToRecallList.reset(m_client.getFilesToRecall(reqFiles,reqSize,reqReport));
} catch (castor::exception::Exception & ex) {
......
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 sign in to comment