tinyxml2 icon indicating copy to clipboard operation
tinyxml2 copied to clipboard

Fix format error of TIXML_SNPRINTF

Open AlbertHungGarmin opened this issue 1 year ago • 0 comments

The format "%x" is treated as an unsigned int by the GCC compiler. Use static_cast to cast the error to an unsigned int to match the "%x" type. Additionally, replace int(error) with static_cast(error) to avoid the old-style cast warning.

AlbertHungGarmin avatar Mar 15 '24 06:03 AlbertHungGarmin