summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--runtime/dex_file.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/dex_file.cc b/runtime/dex_file.cc
index dff28027f6..a6eb5f6261 100644
--- a/runtime/dex_file.cc
+++ b/runtime/dex_file.cc
@@ -441,7 +441,7 @@ std::unique_ptr<const DexFile> DexFile::OpenMemory(const uint8_t* base,
const OatDexFile* oat_dex_file,
std::string* error_msg) {
DCHECK(base != nullptr);
- DCHECK_NE(size, 0UL);
+ DCHECK_NE(size, 0U);
CHECK_ALIGNED(base, 4); // various dex file structures must be word aligned
std::unique_ptr<DexFile> dex_file(
new DexFile(base, size, location, location_checksum, mem_map, oat_dex_file));