Changeset 5e1a831 in rtems


Ignore:
Timestamp:
Aug 22, 2017, 9:37:41 AM (2 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
caa12270
Parents:
b98e407
git-author:
Sebastian Huber <sebastian.huber@…> (08/22/17 09:37:41)
git-committer:
Sebastian Huber <sebastian.huber@…> (08/22/17 12:18:59)
Message:

libchip/serial: Fix integer types

Update #3082.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/libchip/serial/ns16550-context.c

    rb98e407 r5e1a831  
    189189)
    190190{
    191   uint32_t port = ctx->port;
     191  uintptr_t port = ctx->port;
    192192  ns16550_set_reg set = ctx->set_reg;
    193193  size_t out = len > SP_FIFO_SIZE ? SP_FIFO_SIZE : len;
     
    208208  rtems_termios_tty *tty = arg;
    209209  ns16550_context *ctx = rtems_termios_get_device_context(tty);
    210   uint32_t port = ctx->port;
     210  uintptr_t port = ctx->port;
    211211  ns16550_get_reg get = ctx->get_reg;
    212212  int i = 0;
     
    278278{
    279279  ns16550_context *ctx = (ns16550_context *) base;
    280   uint32_t port = ctx->port;
     280  uintptr_t port = ctx->port;
    281281  ns16550_get_reg get = ctx->get_reg;
    282282  char buf[SP_FIFO_SIZE];
Note: See TracChangeset for help on using the changeset viewer.