Commit 7ad7b998 authored by Michael Ott's avatar Michael Ott

Fix compiler error

parent 5131544d
...@@ -353,7 +353,7 @@ int main(int argc, char** argv) { ...@@ -353,7 +353,7 @@ int main(int argc, char** argv) {
jd.jobId = jobId; jd.jobId = jobId;
jd.userId = userId; jd.userId = userId;
jd.startTime = DCDB::TimeStamp(ts); jd.startTime = DCDB::TimeStamp(ts);
jd.endTime = (maxJobLength >= 0) ? DCDB::TimeStamp(ts + S_TO_NS(maxJobLength * 3600) + 1) : DCDB::TimeStamp((uint64_t)0); jd.endTime = (maxJobLength >= 0) ? DCDB::TimeStamp((uint64_t) (ts + S_TO_NS((uint64_t)maxJobLength * 3600ull) + 1)) : DCDB::TimeStamp((uint64_t)0);
jd.nodes = nl; jd.nodes = nl;
} catch(const std::invalid_argument& e) { } catch(const std::invalid_argument& e) {
std::cerr << "Invalid input format!" << std::endl; std::cerr << "Invalid input format!" << std::endl;
......
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