afs.c: Fix 'initialization from incompatible pointer type warning'