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:
authorRay Molenkamp <github@lazydodo.com>2020-05-01 17:06:34 +0300
committerRay Molenkamp <github@lazydodo.com>2020-05-01 17:06:34 +0300
commit60741cfe181c28aae9c747a85e39724f97ddcefb (patch)
treee1fc6b6ee626e3c4904cb875587eb5b2a026e28e
parentb83a8d6fc43adc6d842f096ce8eaff0a95cd7e29 (diff)
Fix: Fix build error on windows
Headers and implementation had slightly different signatures
-rw-r--r--source/blender/blenlib/BLI_math_vector.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenlib/BLI_math_vector.h b/source/blender/blenlib/BLI_math_vector.h
index d6e156a56cb..a171ff1bb1c 100644
--- a/source/blender/blenlib/BLI_math_vector.h
+++ b/source/blender/blenlib/BLI_math_vector.h
@@ -63,9 +63,9 @@ MINLINE void copy_v2_v2_uchar(unsigned char r[2], const unsigned char a[2]);
MINLINE void copy_v3_v3_uchar(unsigned char r[3], const unsigned char a[3]);
MINLINE void copy_v4_v4_uchar(unsigned char r[4], const unsigned char a[4]);
-MINLINE void copy_v2_uchar(unsigned char r[2], unsigned char a);
-MINLINE void copy_v3_uchar(unsigned char r[3], unsigned char a);
-MINLINE void copy_v4_uchar(unsigned char r[4], unsigned char a);
+MINLINE void copy_v2_uchar(unsigned char r[2], const unsigned char a);
+MINLINE void copy_v3_uchar(unsigned char r[3], const unsigned char a);
+MINLINE void copy_v4_uchar(unsigned char r[4], const unsigned char a);
/* char */
MINLINE void copy_v2_v2_char(char r[2], const char a[2]);