Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 004c4124 authored by Pablo Gamito's avatar Pablo Gamito
Browse files

Make frame number type consistent

The frame numbers are ultimately stored as uint64_t so to avoid any implementation dependent casting we make sure all direct and indirect references to this value are stored as uint64_t

Test: Existing tests
Change-Id: Id00ff8fceeb6adff3dbb63746920c1010aada09d
parent 577b72b9
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1091,8 +1091,8 @@ static inline int ANativeWindow_getLastQueuedBuffer2(ANativeWindow* window,
 *
 * \return the next frame id.
 */
static inline int64_t ANativeWindow_getNextFrameId(ANativeWindow* window) {
    int64_t value;
static inline uint64_t ANativeWindow_getNextFrameId(ANativeWindow* window) {
    uint64_t value;
    window->perform(window, NATIVE_WINDOW_GET_NEXT_FRAME_ID, &value);
    return value;
}