Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 185642
b: refs/heads/master
c: 55a5cb5
h: refs/heads/master
v: v3
  • Loading branch information
Pauli Nieminen authored and Dave Airlie committed Mar 1, 2010
1 parent d8ee031 commit e96145d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0de1a57bedce0899c98da4c0910d4f38c9b7c8f4
refs/heads/master: 55a5cb5d594c18b3147a2288b00ea359c1a38cf8
4 changes: 2 additions & 2 deletions trunk/drivers/gpu/drm/radeon/r300_cmdbuf.c
Original file line number Diff line number Diff line change
Expand Up @@ -767,7 +767,7 @@ static __inline__ int r300_emit_packet3(drm_radeon_private_t *dev_priv,
default:
DRM_ERROR("bad packet3 type %i at byte %d\n",
header.packet3.packet,
cmdbuf->buffer->iterator - sizeof(header));
cmdbuf->buffer->iterator - (int)sizeof(header));
return -EINVAL;
}

Expand Down Expand Up @@ -1153,7 +1153,7 @@ int r300_do_cp_cmdbuf(struct drm_device *dev,
default:
DRM_ERROR("bad cmd_type %i at byte %d\n",
header->header.cmd_type,
cmdbuf->buffer->iterator - sizeof(*header));
cmdbuf->buffer->iterator - (int)sizeof(*header));
ret = -EINVAL;
goto cleanup;
}
Expand Down

0 comments on commit e96145d

Please sign in to comment.