summaryrefslogtreecommitdiff
path: root/src/wavesplit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/wavesplit.cpp')
-rwxr-xr-xsrc/wavesplit.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wavesplit.cpp b/src/wavesplit.cpp
index 964e616..f7c94c2 100755
--- a/src/wavesplit.cpp
+++ b/src/wavesplit.cpp
@@ -253,12 +253,12 @@ split_wav_file(CommandOptions& Options)
if ( ASDCP_SUCCESS(result) )
{
char filename[256];
- sprintf(filename, "%s_l.wav", Options.file_root);
+ snprintf(filename, 256, "%s_l.wav", Options.file_root);
result = L_OutFile.OpenWrite(filename);
if ( ASDCP_SUCCESS(result) )
{
- sprintf(filename, "%s_r.wav", Options.file_root);
+ snprintf(filename, 256, "%s_r.wav", Options.file_root);
result = R_OutFile.OpenWrite(filename);
}
}