src/preferences.c : Fix compiler warnings.