diff options
author | Toomas Soome <tsoome@me.com> | 2016-05-22 16:47:27 +0300 |
---|---|---|
committer | Dan McDonald <danmcd@omniti.com> | 2016-05-23 10:31:25 -0400 |
commit | e934136d865d15afd445bc37a6e4d692d0f054db (patch) | |
tree | d047847cf44fec6f64e2a76d4194c71850cfebcc /usr/src | |
parent | 591fabec62bd160b1db9b1f20972c9bca1d8a0b6 (diff) | |
download | illumos-joyent-e934136d865d15afd445bc37a6e4d692d0f054db.tar.gz |
6990 scan_rsdp() should use signed len
Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com>
Reviewed by: Garrett D'Amore <garrett@damore.org>
Approved by: Dan McDonald <danmcd@omniti.com>
Diffstat (limited to 'usr/src')
-rw-r--r-- | usr/src/uts/i86pc/os/fakebop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/uts/i86pc/os/fakebop.c b/usr/src/uts/i86pc/os/fakebop.c index 3eeda4c10f..2f00d95f40 100644 --- a/usr/src/uts/i86pc/os/fakebop.c +++ b/usr/src/uts/i86pc/os/fakebop.c @@ -1973,7 +1973,7 @@ valid_rsdp(ACPI_TABLE_RSDP *rp) static ACPI_TABLE_RSDP * scan_rsdp(paddr_t start, paddr_t end) { - size_t len = end - start; + ssize_t len = end - start; caddr_t ptr; ptr = vmap_phys(len, start); |