mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-05-06 04:40:02 +02:00
fixed warnings, back to int warning in debugstream due to 64 bit
This commit is contained in:
parent
c1e735c1b4
commit
2569ffbf10
@ -87,7 +87,7 @@ protected:
|
||||
m_string.append(p, p + n);
|
||||
|
||||
//changed from uint because of 64 bit
|
||||
unsigned int pos = 0;
|
||||
int pos = 0;
|
||||
|
||||
while (pos != string::npos){
|
||||
pos = m_string.find('\n');
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user