google / EarlGrey

:tea: iOS UI Automation Test Framework
http://google.github.io/EarlGrey/
Apache License 2.0
5.62k stars 744 forks source link

Convert 1-bit signed char bitfield _firstTouchForView to 1-bit unsigned char bitfield #1896

Closed copybara-service[bot] closed 1 year ago

copybara-service[bot] commented 1 year ago

Convert 1-bit signed char bitfield _firstTouchForView to 1-bit unsigned char bitfield

Fixes -Wsingle-bit-bitfield-constant-conversion error:

GREYTouchInjector.m:342:28: error: implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Werror,-Wsingle-bit-bitfield-constant-conversion] flags._firstTouchForView = 1;