diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2014-01-05 19:18:38 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2014-01-05 19:18:38 +0100 |
commit | 28889768ccf76ab5f5847c45b99a096763005f0d (patch) | |
tree | f3d8f687bc9c7910b383dbc459557c59ec92919c | |
parent | aff06750c0cd62e7276e3230fa5dd8220b903132 (diff) |
Fix compile warning.
-rw-r--r-- | src/audiofile.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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) && |