diff --git a/sys/external/bsd/drm2/dist/drm/i915/i915_cmd_parser.c b/sys/external/bsd/drm2/dist/drm/i915/i915_cmd_parser.c index 2387539c45b3..2f908dad6e0c 100644 --- a/sys/external/bsd/drm2/dist/drm/i915/i915_cmd_parser.c +++ b/sys/external/bsd/drm2/dist/drm/i915/i915_cmd_parser.c @@ -416,7 +416,7 @@ int i915_parse_cmds(struct intel_ring_buffer *ring, DRM_DEBUG_DRIVER("CMD: Command length exceeds batch length: 0x%08X length=%d batchlen=%td\n", *cmd, length, - (unsigned long)(batch_end - cmd)); + batch_end - cmd); ret = -EINVAL; break; }