diff options
author | Dave Airlie <airlied@redhat.com> | 2008-05-15 11:13:03 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2008-05-23 09:40:26 +1000 |
commit | 74a9ea896e4c3f4bb3c7195872755ad40da30828 (patch) | |
tree | 5f0ca7e5eb23ec378469ec61f269fdf8ce2e45d6 /shared-core | |
parent | 91c6c4b2403caca80273e8010e9ced74cf900be3 (diff) |
drm: fix nouveau warning
Diffstat (limited to 'shared-core')
-rw-r--r-- | shared-core/nouveau_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-core/nouveau_state.c b/shared-core/nouveau_state.c index 0183b0b4..d9c6efe7 100644 --- a/shared-core/nouveau_state.c +++ b/shared-core/nouveau_state.c @@ -615,7 +615,7 @@ int nouveau_ioctl_getparam(struct drm_device *dev, void *data, struct drm_file * break; case NOUVEAU_GETPARAM_PCI_PHYSICAL: if ( dev -> sg ) - getparam->value=(uint64_t) dev->sg->virtual; + getparam->value=(unsigned long)dev->sg->virtual; else { DRM_ERROR("Requested PCIGART address, while no PCIGART was created\n"); |