diff options
author | Muller, Alexander (A.) <amulle19@ford.com> | 2016-06-15 16:19:17 -0700 |
---|---|---|
committer | Muller, Alexander (A.) <amulle19@ford.com> | 2016-06-15 16:19:17 -0700 |
commit | e704ce71ca46e23cc2740c023be0a4897b28a748 (patch) | |
tree | c557406a3da5ae3a581c173649c103986933e8b5 /SmartDeviceLink/SDLPinchGesture.m | |
parent | 3ca1d55563b855e5b6a84ce0e75e85d02b551b6d (diff) | |
download | sdl_ios-e704ce71ca46e23cc2740c023be0a4897b28a748.tar.gz |
Using ULONG_MAX instead of 0 for our unsigned longs in const struct values.
Diffstat (limited to 'SmartDeviceLink/SDLPinchGesture.m')
-rw-r--r-- | SmartDeviceLink/SDLPinchGesture.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/SmartDeviceLink/SDLPinchGesture.m b/SmartDeviceLink/SDLPinchGesture.m index d1bcb4b8c..0011f83c4 100644 --- a/SmartDeviceLink/SDLPinchGesture.m +++ b/SmartDeviceLink/SDLPinchGesture.m @@ -17,7 +17,7 @@ SDLPinchGesture SDLPinchGestureMake(SDLTouch firstTouch, SDLTouch secondTouch) { return pinchGesture; } -const SDLPinchGesture SDLPinchGestureZero = {SDLTouchZero, SDLTouchZero, -0, {0, 0}}; +const SDLPinchGesture SDLPinchGestureZero = {{ULONG_MAX, {0, 0}, ULONG_MAX}, {ULONG_MAX, {0, 0}, ULONG_MAX}, 0, {0, 0}}; SDLPinchGesture SDLPinchGestureUpdateFromTouch(SDLPinchGesture pinch, SDLTouch touch) { switch (touch.identifier) { |