From cba3a6db5371f3454321c74cdee3ee002d5d4762 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sat, 11 May 2013 12:32:56 +0000 Subject: Fixed building with gcc 4.8. --- src/model/vertexarray.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/model') 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(); } -- cgit v1.2.3