diff options
| author | Alfred Perlstein <alfred@FreeBSD.org> | 2002-06-01 16:20:27 +0000 |
|---|---|---|
| committer | Alfred Perlstein <alfred@FreeBSD.org> | 2002-06-01 16:20:27 +0000 |
| commit | 78b226dc81cfa6130066cae86f7b51a02eee123d (patch) | |
| tree | 621d72ac25e85aedaf84242fa20690cb17b127b8 /sys/dev/cardbus | |
| parent | 29233a2d8a639acdce5441d9c3c38e4695ab961e (diff) | |
Notes
Diffstat (limited to 'sys/dev/cardbus')
| -rw-r--r-- | sys/dev/cardbus/cardbus_cis.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/cardbus/cardbus_cis.c b/sys/dev/cardbus/cardbus_cis.c index ceb409ee27b06..2d97b4862d6a2 100644 --- a/sys/dev/cardbus/cardbus_cis.c +++ b/sys/dev/cardbus/cardbus_cis.c @@ -586,8 +586,8 @@ cardbus_parse_cis(device_t cbdev, device_t child, static int barsort(const void *a, const void *b) { - return ((*(const struct resource_list_entry **)b)->count - - (*(const struct resource_list_entry **)a)->count); + return ((*(const struct resource_list_entry * const *)b)->count - + (*(const struct resource_list_entry * const *)a)->count); } static int |
