Fix build warning in locarchive.c