snapshot: use (void *) instead of (char *)