From: Jamie Gennis Date: Wed, 22 Aug 2012 00:03:18 +0000 (-0700) Subject: ui/Fence: change the TIMEOUT_NEVER value to -1 X-Git-Tag: android-x86-4.4-r1~422^2~32^2~168 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=9f54ac38860761ef62d9bb8282d54ff51a1a68a3;p=android-x86%2Fframeworks-native.git ui/Fence: change the TIMEOUT_NEVER value to -1 Change-Id: I3ef0a4c06f80990b53a8bf2eda6edbfcbefd0f34 --- diff --git a/include/ui/Fence.h b/include/ui/Fence.h index 17cb018d0e..b516a2267c 100644 --- a/include/ui/Fence.h +++ b/include/ui/Fence.h @@ -18,7 +18,6 @@ #define ANDROID_FENCE_H #include -#include #include #include @@ -65,7 +64,7 @@ public: // TIMEOUT_NEVER may be passed to the wait method to indicate that it // should wait indefinitely for the fence to signal. - enum { TIMEOUT_NEVER = UINT_MAX }; + enum { TIMEOUT_NEVER = -1 }; // merge combines two Fence objects, creating a new Fence object that // becomes signaled when both f1 and f2 are signaled (even if f1 or f2 is