diff options
author | Erik de Castro Lopo <erikd@mega-nerd.com> | 2015-02-25 06:38:04 +1100 |
---|---|---|
committer | Erik de Castro Lopo <erikd@mega-nerd.com> | 2015-02-25 06:48:31 +1100 |
commit | ab7ab03bfaca05a279acc3e8d6117f6100fe098d (patch) | |
tree | 69bac999c76c7d979271ff24c6d00af99b22d367 | |
parent | 64d4322b66052a399f73cb857b01def800ef3ca4 (diff) | |
download | flac-ab7ab03bfaca05a279acc3e8d6117f6100fe098d.tar.gz |
src/test_streams/main.c : Use flac_snprintf() instead of snprintf().
MSVC doesn't have snprintf().
Patch-from: lvqcl <lvqcl.mail@gmail.com>
-rw-r--r-- | src/test_streams/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test_streams/main.c b/src/test_streams/main.c index 00552872..36a26dc2 100644 --- a/src/test_streams/main.c +++ b/src/test_streams/main.c @@ -1050,7 +1050,7 @@ static FLAC__bool generate_replaygain_tone (unsigned samplerate) double pi, tone, sample, samplerange; int k; - snprintf(fname, sizeof(fname), "rpg-tone-%u.wav", samplerate); + flac_snprintf(fname, sizeof(fname), "rpg-tone-%u.wav", samplerate); if(0 == (f = flac_fopen(fname, "wb"))) return false; |