# HG changeset patch # User reimar # Date 1302379812 0 # Node ID 8073274a9ff26d9644bc33596aaaa6e670fdd872 # Parent 9ac31195a5e0db8a6a83eeb3fd190c90cb831d8c Add const to type for pointer to a string constant. diff -r 9ac31195a5e0 -r 8073274a9ff2 libaf/af.c --- a/libaf/af.c Sat Apr 09 15:09:06 2011 +0000 +++ b/libaf/af.c Sat Apr 09 20:10:12 2011 +0000 @@ -491,7 +491,7 @@ af = af_control_any_rev(s, AF_CONTROL_RESAMPLE_RATE | AF_CONTROL_SET, &(s->output.rate)); if (!af) { - char *resampler = "resample"; + const char *resampler = "resample"; #ifdef CONFIG_FFMPEG if ((AF_INIT_TYPE_MASK & s->cfg.force) == AF_INIT_SLOW) resampler = "lavcresample";