Skip to content

Commit

Permalink
Merge pull request #41837 from smorovic/13_2_X-exceptiongenerator-war…
Browse files Browse the repository at this point in the history
…nings

[DAQ] silence ExceptionGenerator gcc12 warning
  • Loading branch information
cmsbuild authored Jun 1, 2023
2 parents 2c948f2 + ad9a5ba commit 2625240
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion EventFilter/Utilities/plugins/ExceptionGenerator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ namespace evf {
void *vp = malloc(1024);
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wstringop-overflow"
memset((char *)vp - 32, 0, 1024);
memset((char *)vp - 32 + intqualifier_, 0, 1024);
#pragma GCC diagnostic pop
free(vp);
} break;
Expand Down

0 comments on commit 2625240

Please sign in to comment.