Changeset e2a23690 in rtems for cpukit/librpc


Ignore:
Timestamp:
Mar 28, 2007, 4:03:44 PM (13 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
a185db7
Parents:
6898ed4
Message:

2007-03-28 Ralf Corsépius <ralf.corsepius@…>

  • librpc/src/rpc/clnt_tcp.c (clnttcp_create): Use uintptr_t for "disrupt". Remove bogus (long) cast.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/librpc/src/rpc/clnt_tcp.c

    r6898ed4 re2a23690  
    124124        struct timeval now;
    125125        struct rpc_msg call_msg;
    126         static u_int32_t disrupt;
     126        static uintptr_t disrupt;
    127127
    128128        if (disrupt == 0)
    129                 disrupt = (u_int32_t)(long)raddr;
     129                disrupt = (uintptr_t)raddr;
    130130
    131131        h  = (CLIENT *)mem_alloc(sizeof(*h));
Note: See TracChangeset for help on using the changeset viewer.