mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-03-30 20:32:02 -04: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.