From: Dave Airlie Date: Thu, 15 May 2008 01:13:03 +0000 (+1000) Subject: drm: fix nouveau warning X-Git-Tag: libdrm-2.3.1~15 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=74a9ea896e4c3f4bb3c7195872755ad40da30828;p=platform%2Fupstream%2Flibdrm.git drm: fix nouveau warning --- diff --git a/shared-core/nouveau_state.c b/shared-core/nouveau_state.c index 0183b0b..d9c6efe 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");