Merge "Fix 32-bit build."
diff --git a/adb/file_sync_service.cpp b/adb/file_sync_service.cpp
index 6b5c51f..abf1c02 100644
--- a/adb/file_sync_service.cpp
+++ b/adb/file_sync_service.cpp
@@ -305,7 +305,9 @@
gid_t gid = -1;
uint64_t cap = 0;
if (should_use_fs_config(path)) {
- fs_config(path.c_str(), 0, &uid, &gid, &mode, &cap);
+ unsigned int broken_api_hack;
+ fs_config(path.c_str(), 0, &uid, &gid, &broken_api_hack, &cap);
+ mode = broken_api_hack;
}
return handle_send_file(s, path.c_str(), uid, gid, mode, buffer, do_unlink);
}