summaryrefslogtreecommitdiff
path: root/tools/aapt/Resource.cpp
diff options
context:
space:
mode:
author Dan Albert <danalbert@google.com> 2016-01-15 20:41:23 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2016-01-15 20:41:23 +0000
commitdbf8c17bd20c3c5b4ba99242afa8b714841914d1 (patch)
tree2a81d557e0848bb1555a0e774f238c268f49134b /tools/aapt/Resource.cpp
parentb3ea05a56ea980541d328ab7534a2da230d62c06 (diff)
parented811eeaea83453df91fa564287cd2f1b7cb705f (diff)
Merge "Make the appropriate cast to protect from mingw."
Diffstat (limited to 'tools/aapt/Resource.cpp')
-rw-r--r--tools/aapt/Resource.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/aapt/Resource.cpp b/tools/aapt/Resource.cpp
index a4e5d3de69c1..1b30d362a716 100644
--- a/tools/aapt/Resource.cpp
+++ b/tools/aapt/Resource.cpp
@@ -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(