Chromium Code Reviews| Index: runtime/bin/socket.cc |
| diff --git a/runtime/bin/socket.cc b/runtime/bin/socket.cc |
| index 1285f1363a17353ac579cf555048d2cefd2c5e12..c42d2cf6a9e6dc511b0e915063aebeae165c0e61 100644 |
| --- a/runtime/bin/socket.cc |
| +++ b/runtime/bin/socket.cc |
| @@ -186,6 +186,7 @@ void FUNCTION_NAME(Socket_WriteList)(Dart_NativeArguments args) { |
| if (Dart_IsError(result)) { |
| Dart_PropagateError(result); |
| } |
| + buffer = static_cast<void*>((static_cast<char*>(buffer) + offset)); |
|
Søren Gjesse
2013/01/30 16:11:30
uint8_t instead of char*.
Mads Ager (google)
2013/01/30 16:14:25
Done.
|
| bytes_written = Socket::Write(socket, buffer, length); |
| if (bytes_written > 0) total_bytes_written = bytes_written; |
| } else { |