]> arthur.barton.de Git - netatalk.git/blobdiff - etc/afpd/catsearch.c
Fix all remaining warnings from gcc -Wall that can be fixed
[netatalk.git] / etc / afpd / catsearch.c
index 8bc9adbed8e38933505fa9c7ebf638515e9bda46..6115a4e4c306f068509d9036a91859b5d6565e72 100644 (file)
@@ -736,8 +736,8 @@ static int catsearch_afp(AFPObj *obj _U_, char *ibuf, size_t ibuflen,
     }
 
     /* Parse file specifications */
-    spec1 = ibuf;
-    spec2 = ibuf + spec_len + 2;
+    spec1 = (unsigned char*)ibuf;
+    spec2 = (unsigned char*)ibuf + spec_len + 2;
 
     spec1 += 2; 
     spec2 += 2;