| Index: src/log-utils.h
|
| diff --git a/src/log-utils.h b/src/log-utils.h
|
| index bc414e848d0bef306d37dda339974333adebad09..b165b3ee9a7a3951412aac5f704fe8a9b0451340 100644
|
| --- a/src/log-utils.h
|
| +++ b/src/log-utils.h
|
| @@ -110,9 +110,9 @@
|
|
|
| // Implementation of writing to a log file.
|
| int WriteToFile(const char* msg, int length) {
|
| - DCHECK_NOT_NULL(output_handle_);
|
| + DCHECK(output_handle_ != NULL);
|
| size_t rv = fwrite(msg, 1, length, output_handle_);
|
| - DCHECK_EQ(length, rv);
|
| + DCHECK(static_cast<size_t>(length) == rv);
|
| USE(rv);
|
| fflush(output_handle_);
|
| return length;
|
|
|