summaryrefslogtreecommitdiff
path: root/tools/aapt2/compile/Png.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/aapt2/compile/Png.cpp')
-rw-r--r--tools/aapt2/compile/Png.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/aapt2/compile/Png.cpp b/tools/aapt2/compile/Png.cpp
index bbf7f411d07e..055d8b5cf444 100644
--- a/tools/aapt2/compile/Png.cpp
+++ b/tools/aapt2/compile/Png.cpp
@@ -1234,7 +1234,7 @@ bool Png::process(const Source& source, std::istream* input, BigBuffer* outBuffe
goto bail;
}
- if (util::stringEndsWith<char>(source.path, ".9.png")) {
+ if (util::stringEndsWith(source.path, ".9.png")) {
std::string errorMsg;
if (!do9Patch(&pngInfo, &errorMsg)) {
mDiag->error(DiagMessage() << errorMsg);