[Bf-blender-cvs] [94a62853ae7] blender2.8: Fix build error with Visual Studio / Windows.
Nick Milios
noreply at git.blender.org
Sun May 13 15:52:25 CEST 2018
Commit: 94a62853ae7d3f5fc118b333459941891cdbd1a4
Author: Nick Milios
Date: Sun May 13 15:48:55 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB94a62853ae7d3f5fc118b333459941891cdbd1a4
Fix build error with Visual Studio / Windows.
Differential Revision: https://developer.blender.org/D3363
===================================================================
M intern/clog/clog.c
===================================================================
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);
More information about the Bf-blender-cvs
mailing list