mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-08-28 02:34:19 -05:00
The optimization silences the warning about type limits on platforms with `char` type as `unsigned char`. The original condition is semantically identical to the optimized one because the signed-to-unsigned cast is well-defined in C standard.