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/boxed.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hacks/glx/boxed.c') diff --git a/hacks/glx/boxed.c b/hacks/glx/boxed.c index 6ce82bb..7d1b5d0 100644 --- a/hacks/glx/boxed.c +++ b/hacks/glx/boxed.c @@ -1248,7 +1248,7 @@ pinit(ModeInfo * mi) gp->tic = gp->camtic = rnd() * 100.0f; /* define tex1 (bottom plate) */ - gp->tex1 = (char *)malloc(3*width*height*sizeof(GLuint)); + gp->tex1 = (char *)malloc(3*width*height*sizeof(*gp->tex1)); texpixels = 256*256; /*width*height;*/ texpixeldata = header_data; texpixeltarget = gp->tex1; -- cgit v1.2.3-55-g7522