We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84030ff commit 09ab668Copy full SHA for 09ab668
exporters/otlp/src/otlp_file_client.cc
@@ -1200,7 +1200,7 @@ class OPENTELEMETRY_LOCAL_SYMBOL OtlpFileSystemBackend : public OtlpFileAppender
1200
{
1201
if (file_pattern[i] == '%')
1202
1203
- int checked = static_cast<int>(file_pattern[i + 1]);
+ int checked = static_cast<unsigned char>(file_pattern[i + 1]);
1204
if (checked > 0 && checked < 128 && check_interval[checked] > 0)
1205
1206
if (0 == check_file_path_interval_ ||
0 commit comments