Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src/model
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2013-05-11 12:32:56 +0000
committerStijn Buys <ingar@osirion.org>2013-05-11 12:32:56 +0000
commitcba3a6db5371f3454321c74cdee3ee002d5d4762 (patch)
tree7aa090ad57403f294184bb282a2daff8ff06d8c7 /src/model
parent2ea2fe80b62caa04f02869733bdd0fdd47d5fdb0 (diff)
Fixed building with gcc 4.8.
Diffstat (limited to 'src/model')
-rw-r--r--src/model/vertexarray.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/model/vertexarray.cc b/src/model/vertexarray.cc
index 0d3f64a..a5820d7 100644
--- a/src/model/vertexarray.cc
+++ b/src/model/vertexarray.cc
@@ -47,7 +47,7 @@ void VertexArray::clear()
vertexarray_index = 0;
vertexarray_overflow = false;
- memset(vertexarray_data, 0, sizeof(vertexarray_data));
+ memset(vertexarray_data, 0, sizeof(*vertexarray_data));
add_sphere();
}