Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Milios <semaphore>2018-05-13 16:48:55 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2018-05-13 16:51:42 +0300
commit94a62853ae7d3f5fc118b333459941891cdbd1a4 (patch)
treeaeed2d18d2d775179fe2bc4352bf9054fd52ee57 /intern/clog
parenta8e8e08bc678f1f14409248abd4f2e962708727e (diff)
Fix build error with Visual Studio / Windows.
Differential Revision: https://developer.blender.org/D3363
Diffstat (limited to 'intern/clog')
-rw-r--r--intern/clog/clog.c4
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);