Changeset 2dd6076 for lib


Ignore:
Timestamp:
2022-02-17T22:23:06Z (2 years ago)
Author:
Jelmer Vernooij <jelmer@…>
Branches:
master
Children:
ea3f90f
Parents:
0d753ff
git-author:
Claes Nästén <pekdon@…> (11-02-22 19:27:28)
git-committer:
Jelmer Vernooij <jelmer@…> (17-02-22 22:23:06)
Message:

Use standard uint16_t instead of u_int16_t

uint16_t, part of stdint so use it instead of u_int16_t for better
compatability across platforms.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/canohost.c

    r0d753ff r2dd6076  
    123123        struct sockaddr_in *a4 = (struct sockaddr_in *)addr;
    124124        struct in_addr inaddr;
    125         u_int16_t port;
     125        uint16_t port;
    126126
    127127        if (addr->ss_family != AF_INET6 ||
Note: See TracChangeset for help on using the changeset viewer.