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

Changeset 02d9fec in mainline for uspace/srv/net/il/ip/ip_messages.h


Ignore:
Timestamp:
2010-03-15T20:52:26Z (12 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master
Children:
6e81d04
Parents:
6092b56e
Message:

Fix more dangerous type casts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/il/ip/ip_messages.h

    r6092b56e r02d9fec  
    8282 *  @param[out] answer The message answer structure.
    8383 */
    84 #define IP_SET_HEADERLEN(answer)        ((size_t *) &IPC_GET_ARG2(*answer))
     84#define IP_SET_HEADERLEN(answer)        (&IPC_GET_ARG2(*answer))
    8585
    8686/** Returns the network mask message parameter.
Note: See TracChangeset for help on using the changeset viewer.