scrcpy/app
Romain Vimont 97b001e7c0 Fix undefined left shift
Small unsigned integers promote to signed int. As a consequence, if v is
a uint8_t, then (v << 24) yields an int, so the left shift is undefined
if the MSB is 1.

Cast to uint32_t to yield an unsigned value.

Reported by USAN (meson x -Db_sanitize=undefined):

    runtime error: left shift of 255 by 24 places cannot be represented
    in type 'int'
2021-01-24 15:31:21 +01:00
..
src Fix undefined left shift 2021-01-24 15:31:21 +01:00
tests Fix size_t incorrectly assigned to int 2021-01-17 19:44:23 +01:00
meson.build Factorize meson compiler variable initialization 2021-01-17 19:44:23 +01:00
scrcpy.1 Document --encoder option 2020-11-08 21:11:12 +01:00