Fix annoying DRM_ERROR() string warning
[linux-2.6.git] / drivers / gpu / drm / i915 / i915_gem.c
index 96316fd4723322f7ac277e3747abdc806ab3a98e..33fbeb664f08b89e6eed752e9ec0ddd2fbb6ed73 100644 (file)
@@ -3427,7 +3427,7 @@ i915_gem_attach_phys_object(struct drm_device *dev,
                ret = i915_gem_init_phys_object(dev, id,
                                                obj->size);
                if (ret) {
-                       DRM_ERROR("failed to init phys object %d size: %d\n", id, obj->size);
+                       DRM_ERROR("failed to init phys object %d size: %zu\n", id, obj->size);
                        goto out;
                }
        }