Commit b2e6b0a2 authored by Sean McBride's avatar Sean McBride Committed by Kitware Robot
Browse files

Merge topic 'release-UBSanCast' into release

83413750

 Added explicit cast to pacify UBSan’s “implicit-integer-truncation”
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Reviewed-by: David Gobbi's avatarDavid Gobbi <david.gobbi@gmail.com>
Merge-request: !4592
parents 155f7088 83413750
......@@ -4732,7 +4732,7 @@ void doxygen_comment()
}
if (l < 256)
{
linetext[l++] = c2;
linetext[l++] = (char)c2;
}
if (c2 == '\n' || (c1 == '*' && c2 == '/'))
{
......
......@@ -1089,7 +1089,7 @@ void doxygen_comment()
}
if (l < 256)
{
linetext[l++] = c2;
linetext[l++] = (char)c2;
}
if (c2 == '\n' || (c1 == '*' && c2 == '/'))
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment