diff options
| author | Bryce Harrington <b.harrington@samsung.com> | 2014-05-29 16:43:30 -0700 |
|---|---|---|
| committer | Bryce Harrington <b.harrington@samsung.com> | 2014-05-29 18:37:47 -0700 |
| commit | 50f410d34bd81a7f78a361860308fd9518cc6bac (patch) | |
| tree | 35ed6c71d7f54232c01fc5efc5728eb828e61298 /src/shapes.cpp | |
| parent | 11f4df474d68707b9220e3ce53f645db071b071f (diff) | |
shapes: Fix memset size parameter
Diffstat (limited to 'src/shapes.cpp')
| -rw-r--r-- | src/shapes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shapes.cpp b/src/shapes.cpp index 142bc1c..ec7bc77 100644 --- a/src/shapes.cpp +++ b/src/shapes.cpp @@ -25,7 +25,7 @@ int star_points[11][2] = { void shape_init(shapes_t *shape) { - memset(shape, 0, sizeof(shape)); + memset(shape, 0, sizeof(shapes_t)); } void |