From: Keith Whitwell Date: Fri, 13 Oct 2006 11:17:37 +0000 (+0000) Subject: Fix printf warning. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b2367157698c561d9cd7da56afdbe97c177b6d32;p=mesa.git Fix printf warning. --- diff --git a/src/mesa/drivers/dri/i965/intel_screen.c b/src/mesa/drivers/dri/i965/intel_screen.c index 55d760e34ae..4bc5bedc529 100644 --- a/src/mesa/drivers/dri/i965/intel_screen.c +++ b/src/mesa/drivers/dri/i965/intel_screen.c @@ -272,7 +272,7 @@ static GLboolean intelInitDriver(__DRIscreenPrivate *sPriv) volatile drmI830Sarea *sarea; if (sPriv->devPrivSize != sizeof(I830DRIRec)) { - fprintf(stderr,"\nERROR! sizeof(I830DRIRec) (%d) does not match passed size from device driver (%d)\n", sizeof(I830DRIRec), sPriv->devPrivSize); + fprintf(stderr,"\nERROR! sizeof(I830DRIRec) (%ld) does not match passed size from device driver (%d)\n", sizeof(I830DRIRec), sPriv->devPrivSize); return GL_FALSE; }