~darkxst/ubuntu/raring/xorg-server/lp1073724

« back to all changes in this revision

Viewing changes to hw/xfree86/os-support/solaris/sun_agp.c

  • Committer: Package Import Robot
  • Author(s): Cyril Brulebois
  • Date: 2011-12-20 11:39:51 UTC
  • mto: (0.10.23) (1.1.48)
  • mto: This revision was merged to the branch mainline in revision 244.
  • Revision ID: package-import@ubuntu.com-20111220113951-cx9svdcnqpcta5wk
Tags: upstream-1.11.99.2
ImportĀ upstreamĀ versionĀ 1.11.99.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
233
233
        if (!GARTInit(screenNum) || (acquiredScreen != screenNum))
234
234
                return FALSE;
235
235
 
236
 
        if (ioctl(gartFd, AGPIOC_DEALLOCATE, (int *)key) != 0) {
 
236
        if (ioctl(gartFd, AGPIOC_DEALLOCATE, (int *)(uintptr_t)key) != 0) {
237
237
                xf86DrvMsg(screenNum, X_WARNING, "xf86DeAllocateGARTMemory: "
238
238
                           "deallocation of gart memory with key %d failed\n"
239
239
                           "\t(%s)\n", key, strerror(errno));