summaryrefslogtreecommitdiffstats
path: root/runtime/image.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/image.h')
-rw-r--r--runtime/image.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/image.h b/runtime/image.h
index 5119e3a..0e0a90a 100644
--- a/runtime/image.h
+++ b/runtime/image.h
@@ -42,10 +42,10 @@ class PACKED(4) ImageHeader {
uint32_t oat_file_end);
bool IsValid() const {
- if (memcmp(magic_, kImageMagic, sizeof(kImageMagic) != 0)) {
+ if (memcmp(magic_, kImageMagic, sizeof(kImageMagic)) != 0) {
return false;
}
- if (memcmp(version_, kImageVersion, sizeof(kImageVersion) != 0)) {
+ if (memcmp(version_, kImageVersion, sizeof(kImageVersion)) != 0) {
return false;
}
return true;