From 28889768ccf76ab5f5847c45b99a096763005f0d Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sun, 5 Jan 2014 19:18:38 +0100 Subject: Fix compile warning. --- src/audiofile.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/audiofile.cc b/src/audiofile.cc index bb620df..455bab0 100644 --- a/src/audiofile.cc +++ b/src/audiofile.cc @@ -133,7 +133,7 @@ void AudioFile::load(int num_samples) // Check environment to see if resample should be disabled. // Defaults to "1" which is 'enable'. All other values are 'disabled'. - char *env_res = getenv("DRUMGIZMO_RESAMPLE"); + const char *env_res = getenv("DRUMGIZMO_RESAMPLE"); if(env_res == NULL) env_res = "1"; if( (strcmp(env_res, "1") == 0) && -- cgit v1.2.3