Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 149dd52d in mainline for uspace/drv/audio/hdaudio/hdactl.c


Ignore:
Timestamp:
2014-08-27T15:52:16Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master
Children:
3fec817
Parents:
a9be4d2
Message:

Fix 64-bit issues.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/audio/hdaudio/hdactl.c

    ra9be4d2 r149dd52d  
    311311static void hda_set_corbwp(hda_t *hda, size_t wp)
    312312{
    313         ddf_msg(LVL_DEBUG2, "Set CORBWP = %d", wp);
     313        ddf_msg(LVL_DEBUG2, "Set CORBWP = %zu", wp);
    314314        hda_reg16_write(&hda->regs->corbwp, wp);
    315315}
     
    391391
    392392        wp = hda_get_rirbwp(hda);
    393         ddf_msg(LVL_DEBUG2, "hda_rirb_read: wp=%d", wp);
     393        ddf_msg(LVL_DEBUG2, "hda_rirb_read: wp=%zu", wp);
    394394        if (hda->ctl->rirb_rp == wp)
    395395                return ENOENT;
     
    637637            hda_reg8_read(&ctl->hda->regs->corbctl),
    638638            hda_reg8_read(&ctl->hda->regs->corbsts));
    639         ddf_msg(LVL_NOTE, "rirbwp=0x%x, soft-rirbrp=0x%x",
     639        ddf_msg(LVL_NOTE, "rirbwp=0x%x, soft-rirbrp=0x%zx",
    640640            hda_reg16_read(&ctl->hda->regs->rirbwp),
    641641            ctl->rirb_rp);
    642         ddf_msg(LVL_NOTE, "solrb_wp=0x%x, solrb_rp=0x%x",
     642        ddf_msg(LVL_NOTE, "solrb_wp=0x%zx, solrb_rp=0x%zx",
    643643            ctl->solrb_wp, ctl->solrb_wp);
    644644}
Note: See TracChangeset for help on using the changeset viewer.