diff options
author | Nathan Letwory <nathan@letworyinteractive.com> | 2005-10-23 13:11:48 +0400 |
---|---|---|
committer | Nathan Letwory <nathan@letworyinteractive.com> | 2005-10-23 13:11:48 +0400 |
commit | 12ab0f64f4206516bd8a15506b5783c60a0f9fe4 (patch) | |
tree | a38b3a57326bc63f9569b55f209aea905119fde8 /source | |
parent | 2bd1b4b773d4925677235536fb0d2e58336f82b2 (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')
-rw-r--r-- | source/blender/src/editmesh_add.c | 2 |
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]; |