Skip to content

Commit 618c6e1

Browse files
ktfdavidrohr
authored andcommitted
DPL GUI: fix warning due to different 64 bit type
1 parent 0d29b94 commit 618c6e1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Framework/GUISupport/src/FrameworkGUIDebugger.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ int formatTimeSinceStart(double value, char* buff, int size, void* user_data)
348348
}
349349
int64_t seconds = (value - *startTime) / 1000;
350350
int64_t minutes = seconds / 60;
351-
return snprintf(buff, size, "%02lld:%02lld", minutes, seconds % 60);
351+
return snprintf(buff, size, "%02" PRIi64 ":%02" PRIi64, minutes, seconds % 60);
352352
}
353353

354354
void displayDeviceMetrics(const char* label,

0 commit comments

Comments
 (0)