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

Commit ed811eea authored by Dan Albert's avatar Dan Albert
Browse files

Make the appropriate cast to protect from mingw.

As the comment at the top of the file says:

    STATUST: mingw does seem to redefine UNKNOWN_ERROR from our enum
    value, so a cast is necessary.

Bug: http://b/26523949
Change-Id: I9d86cafdc47bbb9ce0e967cdde9315babc083432
parent d736cba6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2107,7 +2107,7 @@ static status_t writeResourceLoadedCallbackForLayoutClasses(
                indentStr);
    }

    return hasErrors ? UNKNOWN_ERROR : NO_ERROR;
    return hasErrors ? STATUST(UNKNOWN_ERROR) : NO_ERROR;
}

static status_t writeResourceLoadedCallback(