Address CDM compilation warnings for android
[ Merge of http://go/wvgerrit/169230 ] Bug: 275675184 Test: Compile and GtsMediaTestCases Change-Id: I3dc01f383a1fae07c126782e8d3561ab724316a8
This commit is contained in:
@@ -8,6 +8,8 @@
|
||||
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <inttypes.h>
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/types.h>
|
||||
@@ -406,11 +408,13 @@ class AndroidFile : public File {
|
||||
return;
|
||||
}
|
||||
LOGD(
|
||||
"Stat: path = %s, st_dev = %lu, st_ino = %lu, st_mode = 0%o (%s), "
|
||||
"st_uid = %u, st_gid = %u, st_size = %ld, st_atime = %s, "
|
||||
"st_mtime = %s, st_ctime = %s",
|
||||
file_path(), st.st_dev, st.st_ino, st.st_mode,
|
||||
StatModeToString(st.st_mode).c_str(), st.st_uid, st.st_gid, st.st_size,
|
||||
"Stat: path = %s, st_dev = %" PRIu64 ", st_ino = %" PRIu64
|
||||
", st_mode = 0%o (%s), st_uid = %u, st_gid = %u, st_size = %" PRId64
|
||||
", st_atime = %s, st_mtime = %s, st_ctime = %s",
|
||||
file_path(), static_cast<uint64_t>(st.st_dev),
|
||||
static_cast<uint64_t>(st.st_ino), st.st_mode,
|
||||
StatModeToString(st.st_mode).c_str(), st.st_uid, st.st_gid,
|
||||
static_cast<int64_t>(st.st_size),
|
||||
PosixTimeToString(st.st_atime).c_str(),
|
||||
PosixTimeToString(st.st_mtime).c_str(),
|
||||
PosixTimeToString(st.st_ctime).c_str());
|
||||
|
||||
Reference in New Issue
Block a user