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 55d760e34ae7b1e93ee0a2fe64d5bf578f3d25af..4bc5bedc529ed53f48fc63e749ba8bcf392978cd 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;
    }