From 959f802dabd4f4347dc0ea925ae687abb6938588 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sun, 19 Mar 2000 01:10:11 +0000 Subject: fixed compiler warnings on BeOS R4 --- src/mesa/main/depth.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mesa/main/depth.c') diff --git a/src/mesa/main/depth.c b/src/mesa/main/depth.c index 57937dd093..2f9697616e 100644 --- a/src/mesa/main/depth.c +++ b/src/mesa/main/depth.c @@ -1,4 +1,4 @@ -/* $Id: depth.c,v 1.14 2000/03/17 15:31:52 brianp Exp $ */ +/* $Id: depth.c,v 1.15 2000/03/19 01:10:11 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -1570,7 +1570,7 @@ _mesa_clear_depth_buffer( GLcontext *ctx ) 2 * ctx->DrawBuffer->Width * ctx->DrawBuffer->Height); } else { - GLushort *d = ctx->DrawBuffer->DepthBuffer; + GLushort *d = (GLushort *) ctx->DrawBuffer->DepthBuffer; GLint n = ctx->DrawBuffer->Width * ctx->DrawBuffer->Height; while (n >= 16) { d[0] = clearValue; d[1] = clearValue; -- cgit v1.2.3