X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=netatalk.git;a=blobdiff_plain;f=libatalk%2Fadouble%2Fad_open.c;h=ea4ee2405b95d09baf7d9af07975b6e0fece4108;hp=bc4c7c5fa20821eff1b1ce3eab7667d104e7ffea;hb=80fe6e63eb8ec9a396b4383cb8210fd5ded6ad35;hpb=05bb4cfbd3dc7e3061151c963650a126c9e412b8 diff --git a/libatalk/adouble/ad_open.c b/libatalk/adouble/ad_open.c index bc4c7c5f..ea4ee240 100644 --- a/libatalk/adouble/ad_open.c +++ b/libatalk/adouble/ad_open.c @@ -179,7 +179,7 @@ static uint32_t get_eid(uint32_t eid) static int new_ad_header(const char *path, struct adouble *ad, int adflags) { const struct entry *eid; - u_int16_t ashort; + uint16_t ashort; struct stat st; ad->ad_magic = AD_MAGIC; @@ -276,7 +276,7 @@ static void parse_entries(struct adouble *ad, char *buf, uint16_t nentries) static int ad_header_read(struct adouble *ad, struct stat *hst) { char *buf = ad->ad_data; - u_int16_t nentries; + uint16_t nentries; int len; ssize_t header_len; struct stat st;