Fix printf warning.
authorKeith Whitwell <keith@tungstengraphics.com>
Fri, 13 Oct 2006 11:17:37 +0000 (11:17 +0000)
committerKeith Whitwell <keith@tungstengraphics.com>
Fri, 13 Oct 2006 11:17:37 +0000 (11:17 +0000)
src/mesa/drivers/dri/i965/intel_screen.c

index 55d760e..4bc5bed 100644 (file)
@@ -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;
    }