mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-21 05:24:47 -04:00
libcaption: Optimize branch conditons
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.
This commit is contained in:
500 Internal Server Error
Gitea Version: 1.28.0+dev-477-g8b6ad49a5f