drm: fix nouveau warning

main
Dave Airlie 2008-05-15 11:13:03 +10:00
parent 91c6c4b240
commit 74a9ea896e
1 changed files with 1 additions and 1 deletions

View File

@ -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");