Skip to content

Commit fc2133e

Browse files
committed
GPU Display: suppress compiler warning with sanitizers enabled
1 parent 95d5044 commit fc2133e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

GPU/GPUTracking/display/GPUDisplay.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ class GPUDisplay : public GPUDisplayInterface
161161
{
162162
#pragma GCC diagnostic push
163163
#pragma GCC diagnostic ignored "-Wformat-security"
164+
#pragma GCC diagnostic ignored "-Wformat-truncation"
164165
snprintf(mInfoText2, 1024, args...);
165166
#pragma GCC diagnostic pop
166167
GPUInfo("%s", mInfoText2);

0 commit comments

Comments
 (0)