Index: runtime/bin/file.cc |
=================================================================== |
--- runtime/bin/file.cc (revision 32732) |
+++ runtime/bin/file.cc (working copy) |
@@ -31,7 +31,7 @@ |
int64_t remaining = num_bytes; |
char* current_buffer = reinterpret_cast<char*>(buffer); |
while (remaining > 0) { |
- int bytes_read = Read(current_buffer, remaining); |
+ int64_t bytes_read = Read(current_buffer, remaining); |
if (bytes_read <= 0) { |
return false; |
} |
@@ -46,7 +46,7 @@ |
int64_t remaining = num_bytes; |
const char* current_buffer = reinterpret_cast<const char*>(buffer); |
while (remaining > 0) { |
- int bytes_read = Write(current_buffer, remaining); |
+ int64_t bytes_read = Write(current_buffer, remaining); |
if (bytes_read < 0) { |
return false; |
} |