[Bf-blender-cvs] [bb81caeb1ef] functions: Fix build error

Jacques Lucke noreply at git.blender.org
Sat Aug 24 21:32:10 CEST 2019


Commit: bb81caeb1efa3933d6fe4023ec7771f4349b5d9c
Author: Jacques Lucke
Date:   Sat Aug 24 21:28:36 2019 +0200
Branches: functions
https://developer.blender.org/rBbb81caeb1efa3933d6fe4023ec7771f4349b5d9c

Fix build error

===================================================================

M	source/blender/blenlib/BLI_value_or_error.hpp

===================================================================

diff --git a/source/blender/blenlib/BLI_value_or_error.hpp b/source/blender/blenlib/BLI_value_or_error.hpp
index 964d14e2af0..7cfc41df22f 100644
--- a/source/blender/blenlib/BLI_value_or_error.hpp
+++ b/source/blender/blenlib/BLI_value_or_error.hpp
@@ -83,6 +83,6 @@ template<typename T> class ValueOrError {
   { \
     BLI::ErrorInfo \
     { \
-      __FILE__, __LINE__, __func__, MESSAGE \
+      __FILE__, (uint)__LINE__, __func__, MESSAGE \
     } \
   }



More information about the Bf-blender-cvs mailing list