commit | d9443c7e81fe09cd2954905fe422d486bb155f60 | [log] [tgz] |
---|---|---|
author | Praveena Pachipulusu <pveena@codeaurora.org> | Mon Feb 17 10:42:28 2014 +0530 |
committer | Praveena Pachipulusu <pveena@codeaurora.org> | Fri Mar 28 09:17:43 2014 +0530 |
tree | b5dbbe5b416abc487f37f13c53cd99879fe3e935 | |
parent | d32e1243e63dcac69a2d4981f2f79aced3e669ca [diff] [blame] |
hwc: Use proper typecasts - Remove compiler warnings - Use proper typecasts Change-Id: I7391f32ae31283239f5cebb93b02f3ce3a5c99f3
diff --git a/libhwcomposer/hwc_uevents.cpp b/libhwcomposer/hwc_uevents.cpp index 7bc29bc..e1f7827 100644 --- a/libhwcomposer/hwc_uevents.cpp +++ b/libhwcomposer/hwc_uevents.cpp
@@ -323,7 +323,7 @@ } while(1) { - len = uevent_next_event(udata, sizeof(udata) - 2); + len = uevent_next_event(udata, (int)sizeof(udata) - 2); handle_uevent(ctx, udata, len); }