summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik de Castro Lopo <erikd@mega-nerd.com>2015-02-25 06:38:04 +1100
committerErik de Castro Lopo <erikd@mega-nerd.com>2015-02-25 06:48:31 +1100
commitab7ab03bfaca05a279acc3e8d6117f6100fe098d (patch)
tree69bac999c76c7d979271ff24c6d00af99b22d367
parent64d4322b66052a399f73cb857b01def800ef3ca4 (diff)
downloadflac-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.c2
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;