Bug 1360321 - 6. Add AArch64 support in xpcom; r=froydnj

Add breakpoint support for AArch64, and fix a scanf format specifier
warning. Also fix an #if line in xptcinvoke_arm.cpp to work as intended.

MozReview-Commit-ID: BSjYVD8Zq0t
This commit is contained in:
Jim Chen
2017-05-17 13:06:23 -04:00
parent 4c86aa0cfd
commit d94b0f8c33
3 changed files with 5 additions and 3 deletions

View File

@@ -49,7 +49,7 @@ nsMemoryImpl::IsLowMemoryPlatform(bool* aResult)
return NS_OK;
}
uint64_t mem = 0;
int rv = fscanf(fd, "MemTotal: %llu kB", &mem);
int rv = fscanf(fd, "MemTotal: %" PRIu64 " kB", &mem);
if (fclose(fd)) {
return NS_OK;
}