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:
authorNathan Letwory <nathan@letworyinteractive.com>2005-10-23 13:11:48 +0400
committerNathan Letwory <nathan@letworyinteractive.com>2005-10-23 13:11:48 +0400
commit12ab0f64f4206516bd8a15506b5783c60a0f9fe4 (patch)
treea38b3a57326bc63f9569b55f209aea905119fde8 /source/blender/src/editmesh_add.c
parent2bd1b4b773d4925677235536fb0d2e58336f82b2 (diff)
fixing zero-size array
(source\blender\src\editmesh_add.c(122) : error C2466: cannot allocate an array of constant size 0 warning:: ISO C forbids zero-size array `mval')
Diffstat (limited to 'source/blender/src/editmesh_add.c')
-rw-r--r--source/blender/src/editmesh_add.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/editmesh_add.c b/source/blender/src/editmesh_add.c
index 544bfd3e74f..445c3d6ddfe 100644
--- a/source/blender/src/editmesh_add.c
+++ b/source/blender/src/editmesh_add.c
@@ -119,7 +119,7 @@ static short icoface[20][3] = {
static void get_view_aligned_coordinate(float *fp)
{
float dvec[3];
- short mx, my, mval[0];
+ short mx, my, mval[2];
getmouseco_areawin(mval);
mx= mval[0];