Skip to content
Snippets Groups Projects
Commit bb795a61 authored by Frank Winklmeier's avatar Frank Winklmeier
Browse files

Merge branch 'gcc8.TrigInDetAnalysisUser-20181011' into 'master'

TrigInDetAnalysisUser: Fix gcc8 warnings.

See merge request atlas/athena!14931
parents 8f56edc2 4ef65bd5
No related branches found
No related tags found
No related merge requests found
...@@ -854,7 +854,7 @@ int main(int argc, char** argv) { ...@@ -854,7 +854,7 @@ int main(int argc, char** argv) {
/// use the default panels /// use the default panels
std::string ((*inpanels[3])[6]) = { eff_panel, res_panel, diff_panel }; std::string (*inpanels[3])[6] = { eff_panel, res_panel, diff_panel };
size_t nphist[3] = { 4, 4, 10 }; size_t nphist[3] = { 4, 4, 10 };
......
...@@ -80,7 +80,7 @@ void ReadCards::Construct(const std::string& filename) { ...@@ -80,7 +80,7 @@ void ReadCards::Construct(const std::string& filename) {
if ( mFileName.find("/")==std::string::npos ) std::sprintf( tfile, ".readcards-%s-%d", mFileName.c_str(), pid ); if ( mFileName.find("/")==std::string::npos ) std::sprintf( tfile, ".readcards-%s-%d", mFileName.c_str(), pid );
else std::sprintf( tfile, ".readcards-%d", pid ); else std::sprintf( tfile, ".readcards-%d", pid );
char cmd[256]; char cmd[512];
std::sprintf( cmd, "cpp -I. -P %s > %s", mFileName.c_str(), tfile ); std::sprintf( cmd, "cpp -I. -P %s > %s", mFileName.c_str(), tfile );
std::system( cmd ); std::system( cmd );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment