]> arthur.barton.de Git - netatalk.git/blobdiff - libatalk/adouble/ad_lock.c
Portability fixes
[netatalk.git] / libatalk / adouble / ad_lock.c
index 0e05a8f7d7616f6ab4fc231d113162fe4b7d6e0a..5d6e4b1a234f1e61e629e81f70d539f75d9ed271 100644 (file)
@@ -316,7 +316,7 @@ static int testlock(const struct ad_fd *adf, off_t off, off_t len)
 
 static uint16_t ad_openforks_v2(struct adouble *ad, uint16_t attrbits)
 {
-  u_int16_t ret = 0;
+  uint16_t ret = 0;
   struct ad_fd *adf;
   off_t off;
 
@@ -371,7 +371,7 @@ static uint16_t ad_openforks_v2(struct adouble *ad, uint16_t attrbits)
 
 static uint16_t ad_openforks_ea(struct adouble *ad, uint16_t attrbits)
 {
-    u_int16_t ret = 0;
+    uint16_t ret = 0;
     struct ad_fd *adf;
     off_t off;
     off_t len;