diff options
author | Michel Dänzer <daenzer@vmware.com> | 2010-04-23 18:28:22 +0200 |
---|---|---|
committer | Michel Dänzer <michel@daenzer.net> | 2010-04-23 18:35:54 +0200 |
commit | b2ecd1bb507ed4e0d9ba6ebd498c51da2e8136fa (patch) | |
tree | ecb1f6cae731b23046ee4d7ed413d8690c9a0ffb /src | |
parent | 1ad41054989f7c3edec373ccf09dceda6d7c94b4 (diff) |
FB/MMIO_cnt should be ints, not pointers.
Pointed out by compiler warnings.
https://bugs.freedesktop.org/show_bug.cgi?id=27817
Diffstat (limited to 'src')
-rw-r--r-- | src/radeon_probe.h | 4 |
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; |