Skip to content

Commit b89e63c

Browse files
authored
Adding typecast without whom c++26 build fails (open-telemetry#3281)
1 parent 821ad9e commit b89e63c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exporters/etw/include/opentelemetry/exporters/etw/TraceLoggingDynamic.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2141,7 +2141,7 @@ namespace tld
21412141

21422142
void AddFieldInfo(UINT8 arity, Type type, UINT32 tags)
21432143
{
2144-
_tld_ASSERT((type & InTypeMask) == (type & 0xff), "InType out of range");
2144+
_tld_ASSERT((type & (Type)InTypeMask) == (type & 0xff), "InType out of range");
21452145
_tld_ASSERT((type & _tld_MAKE_TYPE(0, OutTypeMask)) == (Type)(type & 0xffffff00), "OutType out of range");
21462146

21472147
UINT8 inMeta = arity | static_cast<UINT8>(type);

0 commit comments

Comments
 (0)