From: Brian Paul Date: Thu, 13 May 2004 18:24:20 +0000 (+0000) Subject: cast driHwLock assignment X-Git-Tag: mesa-7.8~11046 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d359f96a180596389e975746c1de0df0a24ca59c;p=platform%2Fupstream%2Fmesa.git cast driHwLock assignment --- diff --git a/src/mesa/drivers/dri/i830/i830_context.c b/src/mesa/drivers/dri/i830/i830_context.c index d4d7c2c..7a44f03 100644 --- a/src/mesa/drivers/dri/i830/i830_context.c +++ b/src/mesa/drivers/dri/i830/i830_context.c @@ -331,7 +331,8 @@ GLboolean i830CreateContext( const __GLcontextModes *mesaVis, /* Dri stuff */ imesa->hHWContext = driContextPriv->hHWContext; imesa->driFd = sPriv->fd; - imesa->driHwLock = &sPriv->pSAREA->lock; + /* drmLock ptr = &drm_hw_lock_t */ + imesa->driHwLock = (drmLock *) &sPriv->pSAREA->lock; imesa->hw_stencil = mesaVis->stencilBits && mesaVis->depthBits == 24; switch(mesaVis->depthBits) {