Changeset 7ff35c7 in mainline for uspace/drv/time/cmos-rtc/cmos-rtc.c
- Timestamp:
- 2012-09-02T18:44:40Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d6cd626
- Parents:
- 4c84ada5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/time/cmos-rtc/cmos-rtc.c
r4c84ada5 r7ff35c7 166 166 167 167 ddf_msg(LVL_ERROR, "Cannot map the port %lx" 168 " for device %s", ( intptr_t)rtc->io_addr,168 " for device %s", (long unsigned int)rtc->io_addr, 169 169 ddf_dev_get_name(rtc->dev)); 170 170 return false; … … 226 226 } 227 227 228 rtc->io_addr = (ioport8_t *) res->res.io_range.address;228 rtc->io_addr = (ioport8_t *) (long) res->res.io_range.address; 229 229 ioport = true; 230 230 ddf_msg(LVL_NOTE, "Device %s was assigned I/O address " 231 231 "0x%lx", ddf_dev_get_name(rtc->dev), 232 ( intptr_t) rtc->io_addr);232 (unsigned long int) rtc->io_addr); 233 233 rc = EOK; 234 234 break;
Note:
See TracChangeset
for help on using the changeset viewer.