summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichel Dänzer <daenzer@vmware.com>2010-04-23 18:28:22 +0200
committerMichel Dänzer <michel@daenzer.net>2010-04-23 18:35:54 +0200
commitb2ecd1bb507ed4e0d9ba6ebd498c51da2e8136fa (patch)
treeecb1f6cae731b23046ee4d7ed413d8690c9a0ffb
parent1ad41054989f7c3edec373ccf09dceda6d7c94b4 (diff)
FB/MMIO_cnt should be ints, not pointers.
Pointed out by compiler warnings. https://bugs.freedesktop.org/show_bug.cgi?id=27817
-rw-r--r--src/radeon_probe.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/radeon_probe.h b/src/radeon_probe.h
index fb905959..36c91b27 100644
--- a/src/radeon_probe.h
+++ b/src/radeon_probe.h
@@ -644,9 +644,9 @@ typedef struct
RADEONSaveRec SavedReg; /* Original (text) mode */
void *MMIO; /* Map of MMIO region */
- int *MMIO_cnt; /* Map of FB region refcount */
+ int MMIO_cnt; /* Map of FB region refcount */
void *FB; /* Map of FB region */
- int *FB_cnt; /* Map of FB region refcount */
+ int FB_cnt; /* Map of FB region refcount */
int fd; /* for sharing across zaphod heads */
} RADEONEntRec, *RADEONEntPtr;