fixed warnings, back to int warning in debugstream due to 64 bit

This commit is contained in:
Dhanya Maliakal
2017-11-17 08:53:05 +01:00
parent c1e735c1b4
commit 2569ffbf10
2 changed files with 3 additions and 3 deletions

View File

@ -657,12 +657,12 @@ void qDetectorMain::ExecuteHelp(QAction *action){
cout << "About: Common GUI for Mythen, Eiger, Gotthard, Jungfrau, Moench and Propix detectors" << endl;
#endif
char version[200];
int64_t retval= SVNREV;
long long unsigned int retval= SVNREV;
retval= (retval <<32) | SVNDATE;
sprintf(version,"%llx",retval);
string thisGUIVersion = string(version);
sprintf(version,"%llx",myDet->getId(slsDetectorDefs::THIS_SOFTWARE_VERSION));
sprintf(version,"%llx",(long long unsigned int)myDet->getId(slsDetectorDefs::THIS_SOFTWARE_VERSION));
qDefs::checkErrorMessage(myDet,"qDetectorMain::ExecuteHelp");
string thisClientVersion = string(version);