From 6a32252403781b303d4ebd195932ce39c5b1c08e Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Tue, 30 Jul 2019 16:03:58 +0200 Subject: Update to 5.43 --- hacks/glx/jigsaw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hacks/glx/jigsaw.c') diff --git a/hacks/glx/jigsaw.c b/hacks/glx/jigsaw.c index 38716e2..9c9e911 100644 --- a/hacks/glx/jigsaw.c +++ b/hacks/glx/jigsaw.c @@ -1,4 +1,4 @@ -/* xscreensaver, Copyright (c) 1997-2017 Jamie Zawinski +/* xscreensaver, Copyright (c) 1997-2019 Jamie Zawinski * * Permission to use, copy, modify, distribute, and sell this software and its * documentation for any purpose is hereby granted without fee, provided that @@ -555,7 +555,7 @@ draw_piece (jigsaw_configuration *jc, puzzle_piece *p, # else /* !HAVE_TESS */ GLfloat *tri = (GLfloat *) - (GLfloat *) malloc (s->n_points * 4 * 3 * 3 * sizeof(*pts)); + malloc (s->n_points * 4 * 3 * 3 * sizeof(*tri)); GLfloat *otri = tri; int count; GLdouble zz; -- cgit v1.2.3-55-g7522