diff options
author | Nick Milios <semaphore> | 2018-05-13 16:48:55 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-05-13 16:51:42 +0300 |
commit | 94a62853ae7d3f5fc118b333459941891cdbd1a4 (patch) | |
tree | aeed2d18d2d775179fe2bc4352bf9054fd52ee57 | |
parent | a8e8e08bc678f1f14409248abd4f2e962708727e (diff) |
Fix build error with Visual Studio / Windows.
Differential Revision: https://developer.blender.org/D3363
-rw-r--r-- | intern/clog/clog.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/clog/clog.c b/intern/clog/clog.c index 87a021ad35b..e96cbbe7f14 100644 --- a/intern/clog/clog.c +++ b/intern/clog/clog.c @@ -404,7 +404,7 @@ void CLG_log_str( clg_str_append(&cstr, "\n"); /* could be optional */ - ssize_t bytes_written = write(lg->ctx->output, cstr.data, cstr.len); + int bytes_written = write(lg->ctx->output, cstr.data, cstr.len); (void)bytes_written; clg_str_free(&cstr); @@ -436,7 +436,7 @@ void CLG_logf( clg_str_append(&cstr, "\n"); /* could be optional */ - ssize_t bytes_written = write(lg->ctx->output, cstr.data, cstr.len); + int bytes_written = write(lg->ctx->output, cstr.data, cstr.len); (void)bytes_written; clg_str_free(&cstr); |